From 5f3bb979cbd8dc89b77e8abfedb2896c75d311dc Mon Sep 17 00:00:00 2001 From: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com> Date: Sun, 1 Mar 2026 09:46:55 +0530 Subject: [PATCH] fix(GHA): pin crowdin actions to SHA commits (#66137) --- .../workflows/crowdin-download.client-ui.yml | 28 +++++++++---------- .../workflows/crowdin-upload.client-ui.yml | 4 +-- .../workflows/crowdin-upload.curriculum.yml | 12 ++++---- 3 files changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/workflows/crowdin-download.client-ui.yml b/.github/workflows/crowdin-download.client-ui.yml index d884e10f38a..c8adb2daf3b 100644 --- a/.github/workflows/crowdin-download.client-ui.yml +++ b/.github/workflows/crowdin-download.client-ui.yml @@ -23,14 +23,14 @@ jobs: token: ${{ secrets.CROWDIN_CAMPERBOT_PAT }} - name: Generate Crowdin Config - uses: freecodecamp/crowdin-action@main + uses: freecodecamp/crowdin-action@36a78cbf92f5a6c05a3a32dc8bf434a19a7c59e2 # main env: PLUGIN: 'generate-config' PROJECT_NAME: 'client' ##### Download Chinese ##### - name: Crowdin Download Chinese Translations - uses: crowdin/github-action@master + uses: crowdin/github-action@8818ff65bfc4322384f983ea37e3926948c11745 # v2.15.0 # options: https://github.com/crowdin/github-action/blob/master/action.yml with: # uploads @@ -59,14 +59,14 @@ jobs: # Convert Simplified Chinese to Traditional # - name: Convert Chinese - uses: freecodecamp/crowdin-action@main + uses: freecodecamp/crowdin-action@36a78cbf92f5a6c05a3a32dc8bf434a19a7c59e2 # main env: PLUGIN: 'convert-chinese' FILE_PATHS: '["client/i18n/locales/chinese"]' ##### Download Espanol ##### - name: Crowdin Download Espanol Translations - uses: crowdin/github-action@master + uses: crowdin/github-action@8818ff65bfc4322384f983ea37e3926948c11745 # v2.15.0 # options: https://github.com/crowdin/github-action/blob/master/action.yml with: # uploads @@ -95,7 +95,7 @@ jobs: ##### Download Italian ##### - name: Crowdin Download Italian Translations - uses: crowdin/github-action@master + uses: crowdin/github-action@8818ff65bfc4322384f983ea37e3926948c11745 # v2.15.0 # options: https://github.com/crowdin/github-action/blob/master/action.yml with: # uploads @@ -124,7 +124,7 @@ jobs: ##### Download Brazilian Portuguese ##### - name: Crowdin Download Portuguese (Brazilian) Translations - uses: crowdin/github-action@master + uses: crowdin/github-action@8818ff65bfc4322384f983ea37e3926948c11745 # v2.15.0 # options: https://github.com/crowdin/github-action/blob/master/action.yml with: # uploads @@ -153,7 +153,7 @@ jobs: ##### Download Ukrainian ##### - name: Crowdin Download Ukrainian Translations - uses: crowdin/github-action@master + uses: crowdin/github-action@8818ff65bfc4322384f983ea37e3926948c11745 # v2.15.0 # options: https://github.com/crowdin/github-action/blob/master/action.yml with: # uploads @@ -182,7 +182,7 @@ jobs: ##### Download Japanese ##### - name: Crowdin Download Japanese Translations - uses: crowdin/github-action@master + uses: crowdin/github-action@8818ff65bfc4322384f983ea37e3926948c11745 # v2.15.0 # options: https://github.com/crowdin/github-action/blob/master/action.yml with: # uploads @@ -211,7 +211,7 @@ jobs: ##### Download German ##### - name: Crowdin Download German Translations - uses: crowdin/github-action@master + uses: crowdin/github-action@8818ff65bfc4322384f983ea37e3926948c11745 # v2.15.0 # options: https://github.com/crowdin/github-action/blob/master/action.yml with: # uploads @@ -240,7 +240,7 @@ jobs: ##### Download Swahili ##### - name: Crowdin Download Swahili Translations - uses: crowdin/github-action@master + uses: crowdin/github-action@8818ff65bfc4322384f983ea37e3926948c11745 # v2.15.0 # options: https://github.com/crowdin/github-action/blob/master/action.yml with: # uploads @@ -269,7 +269,7 @@ jobs: ##### Download Korean ##### - name: Crowdin Download Korean Translations - uses: crowdin/github-action@master + uses: crowdin/github-action@8818ff65bfc4322384f983ea37e3926948c11745 # v2.15.0 # options: https://github.com/crowdin/github-action/blob/master/action.yml with: # uploads @@ -307,14 +307,14 @@ jobs: ###### Lowercase directory names ##### - name: Lowercase Directories - uses: freecodecamp/crowdin-action@main + uses: freecodecamp/crowdin-action@36a78cbf92f5a6c05a3a32dc8bf434a19a7c59e2 # main env: PLUGIN: 'lowercase-directories' FILE_PATH: 'client/i18n/locales' # Crowdin translators might have the directories # Create Commit - name: Commit Changes - uses: freecodecamp/crowdin-action@main + uses: freecodecamp/crowdin-action@36a78cbf92f5a6c05a3a32dc8bf434a19a7c59e2 # main env: PLUGIN: 'commit-changes' GH_USERNAME: 'camperbot' @@ -326,7 +326,7 @@ jobs: # All languages should go ABOVE this. # - name: Create PR - uses: freecodecamp/crowdin-action@main + uses: freecodecamp/crowdin-action@36a78cbf92f5a6c05a3a32dc8bf434a19a7c59e2 # main env: PLUGIN: 'pull-request' GH_TOKEN: ${{ secrets.CROWDIN_CAMPERBOT_PAT }} diff --git a/.github/workflows/crowdin-upload.client-ui.yml b/.github/workflows/crowdin-upload.client-ui.yml index 509ea1f6e43..299785f17f0 100644 --- a/.github/workflows/crowdin-upload.client-ui.yml +++ b/.github/workflows/crowdin-upload.client-ui.yml @@ -21,13 +21,13 @@ jobs: uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Generate Crowdin Config - uses: freecodecamp/crowdin-action@main + uses: freecodecamp/crowdin-action@36a78cbf92f5a6c05a3a32dc8bf434a19a7c59e2 # main env: PLUGIN: 'generate-config' PROJECT_NAME: 'client' - name: Crowdin Upload - uses: crowdin/github-action@master + uses: crowdin/github-action@8818ff65bfc4322384f983ea37e3926948c11745 # v2.15.0 # options: https://github.com/crowdin/github-action/blob/master/action.yml with: # uploads diff --git a/.github/workflows/crowdin-upload.curriculum.yml b/.github/workflows/crowdin-upload.curriculum.yml index 09afe276430..381621c3613 100644 --- a/.github/workflows/crowdin-upload.curriculum.yml +++ b/.github/workflows/crowdin-upload.curriculum.yml @@ -21,13 +21,13 @@ jobs: uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Generate Crowdin Config - uses: freecodecamp/crowdin-action@main + uses: freecodecamp/crowdin-action@36a78cbf92f5a6c05a3a32dc8bf434a19a7c59e2 # main env: PLUGIN: 'generate-config' PROJECT_NAME: 'curriculum' - name: Crowdin Upload - uses: crowdin/github-action@master + uses: crowdin/github-action@8818ff65bfc4322384f983ea37e3926948c11745 # v2.15.0 # options: https://github.com/crowdin/github-action/blob/master/action.yml with: # uploads @@ -50,25 +50,25 @@ jobs: # dryrun_action: true - name: Remove deleted files - uses: freecodecamp/crowdin-action@main + uses: freecodecamp/crowdin-action@36a78cbf92f5a6c05a3a32dc8bf434a19a7c59e2 # main env: PLUGIN: 'remove-deleted-files' FILE_PATHS: '["curriculum/challenges/english", "curriculum/dictionaries/english"]' - name: Hide Non-Translated Strings - uses: freecodecamp/crowdin-action@main + uses: freecodecamp/crowdin-action@36a78cbf92f5a6c05a3a32dc8bf434a19a7c59e2 # main env: PLUGIN: 'hide-curriculum-strings' - name: Hide a String - uses: freecodecamp/crowdin-action@main + uses: freecodecamp/crowdin-action@36a78cbf92f5a6c05a3a32dc8bf434a19a7c59e2 # main env: PLUGIN: 'hide-string' FILE_NAME: 'basic-html-and-html5/nest-an-anchor-element-within-a-paragraph.md' STRING_CONTENT: Here's a link to www.freecodecamp.org for you to follow. - name: Unhide Title of Use && For a More Concise Conditional - uses: freecodecamp/crowdin-action@main + uses: freecodecamp/crowdin-action@36a78cbf92f5a6c05a3a32dc8bf434a19a7c59e2 # main env: PLUGIN: 'unhide-string' FILE_NAME: 'react/use--for-a-more-concise-conditional.md'