From 0496afeb11f0c815d8f2c3430684f55c5d18e8aa Mon Sep 17 00:00:00 2001 From: Brian Muenzenmeyer Date: Sat, 7 Dec 2024 08:07:55 -0600 Subject: [PATCH] hotfix: assign job output --- .github/workflows/translations-sync.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/translations-sync.yml b/.github/workflows/translations-sync.yml index 53e83dd1c98a9..854abe6796aa8 100644 --- a/.github/workflows/translations-sync.yml +++ b/.github/workflows/translations-sync.yml @@ -23,6 +23,8 @@ permissions: jobs: synchronize-with-crowdin: runs-on: ubuntu-latest + outputs: + pull_request_number: ${{ steps.crowdin_pr.outputs.pull_request_number }} steps: - name: Harden Runner @@ -36,6 +38,7 @@ jobs: # see all the options at https://github.com/crowdin/github-action - name: Crowdin PR uses: crowdin/github-action@2d540f18b0a416b1fbf2ee5be35841bd380fc1da # v2.3.0 + id: crowdin_pr with: # do not upload anything - this is a one-way operation download upload_sources: false @@ -72,7 +75,7 @@ jobs: uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: # Use the number from the output of crowdin/github-action - ref: refs/pull/${{ steps.synchronize-with-crowdin.outputs.pull_request_number }}/head + ref: refs/pull/${{ jobs.synchronize-with-crowdin.outputs.pull_request_number }}/head - name: Restore Lint Cache uses: actions/cache/restore@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2