Make sure workflow report runs on pull_request_target

This commit is contained in:
Josh Stewart 2024-08-15 12:21:07 +10:00
parent 8f460fec9a
commit 62c75a177d
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ jobs:
# When using a matrix to compile for multiple boards, it's necessary to use a separate job for the deltas report # When using a matrix to compile for multiple boards, it's necessary to use a separate job for the deltas report
report: report:
needs: compile # Wait for the compile job to finish to get the data for the report needs: compile # Wait for the compile job to finish to get the data for the report
if: github.event_name == 'pull_request' # Only run the job when the workflow is triggered by a pull request if: github.event_name == 'pull_request' || github.event_name == 'pull_request_target'
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: write-all permissions: write-all