diff --git a/.github/workflows/check-file-updates.yaml b/.github/workflows/check-file-updates.yaml index b6b7f0f1fee..89a9e03e71b 100644 --- a/.github/workflows/check-file-updates.yaml +++ b/.github/workflows/check-file-updates.yaml @@ -1,6 +1,6 @@ name: Check config and readme updates on: - pull_request: + pull_request_target: jobs: file-updates: permissions: @@ -37,6 +37,7 @@ jobs: Please run `${{ steps.generate-files.outputs.CMD }}` and commit the changes. For more info: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} + pr_number: ${{github.event.number}} - name: Print git status and fail pr if: ${{ steps.check_generated_files.outputs.missing_generated_files == 'true' }} run: |