diff --git a/.github/workflows/pr_automations.yml b/.github/workflows/pr_automations.yml index 4270cbbb92c..bfc8c0e6c1b 100644 --- a/.github/workflows/pr_automations.yml +++ b/.github/workflows/pr_automations.yml @@ -71,10 +71,11 @@ jobs: github-token: ${{ secrets.ACCESS_TOKEN }} script: | const { main } = await import('${{ github.workspace }}/automations/js/src/label_pr.mjs') - await main(github) + await main(github, core) - name: Perform PR automations uses: actions/github-script@v7 + if: success() || failure() with: github-token: ${{ secrets.ACCESS_TOKEN }} script: |