diff --git a/.github/allowed-actions.js b/.github/allowed-actions.js index 8800d747c9..f93815e33b 100644 --- a/.github/allowed-actions.js +++ b/.github/allowed-actions.js @@ -21,7 +21,7 @@ module.exports = [ 'github/codeql-action/init@v1', 'ianwalter/puppeteer@12728ddef82390d1ecd4732fb543f62177392fbb', 'juliangruber/approve-pull-request-action@c530832d4d346c597332e20e03605aa94fa150a8', - 'juliangruber/find-pull-request-action@64d55773c959748ad30a4184f4dc102af1669f7b', + 'juliangruber/find-pull-request-action@2fc55e82a6d5d36fe1e7f1848f7e64fd02d99de9', 'juliangruber/read-file-action@e0a316da496006ffd19142f0fd594a1783f3b512', 'lee-dohm/close-matching-issues@22002609b2555fe18f52b8e2e7c07cbf5529e8a8', 'pascalgn/automerge-action@c9bd182', diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml index 60ad7adf7d..90664d9bb5 100644 --- a/.github/workflows/repo-sync.yml +++ b/.github/workflows/repo-sync.yml @@ -58,12 +58,13 @@ jobs: github_token: ${{ secrets.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }} - name: Find pull request - uses: juliangruber/find-pull-request-action@64d55773c959748ad30a4184f4dc102af1669f7b + uses: juliangruber/find-pull-request-action@2fc55e82a6d5d36fe1e7f1848f7e64fd02d99de9 id: find-pull-request with: github-token: ${{ secrets.GITHUB_TOKEN }} branch: repo-sync base: main + author: Octomerger - name: Approve pull request if: ${{ steps.find-pull-request.outputs.number }} diff --git a/.github/workflows/translations.yml b/.github/workflows/translations.yml index 8bfd5ba5d8..34622c3122 100644 --- a/.github/workflows/translations.yml +++ b/.github/workflows/translations.yml @@ -17,11 +17,13 @@ jobs: echo 'The repo is currently frozen! Exiting this workflow.' exit 1 # prevents further steps from running - name: Find original Pull Request - uses: juliangruber/find-pull-request-action@64d55773c959748ad30a4184f4dc102af1669f7b + uses: juliangruber/find-pull-request-action@2fc55e82a6d5d36fe1e7f1848f7e64fd02d99de9 id: pr with: github-token: ${{ secrets.GITHUB_TOKEN }} branch: translations + base: main + author: octoglot - if: ${{ steps.pr.outputs.number }} name: Check if already labeled uses: actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9