Skip to content

Commit

Permalink
(fix): Change on trigger event to pull_request_target in the "Check…
Browse files Browse the repository at this point in the history
… config and readme updates / Ensure generated files are included (pull_request)" action to fix "Resource not accessible by integration" error while running the action (#1296)

Signed-off-by: AJAY JAGANATHAN <ajaganat@redhat.com>
  • Loading branch information
AjayJagan authored Oct 15, 2024
1 parent 2708e54 commit f954f0b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/check-file-updates.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Check config and readme updates
on:
pull_request:
pull_request_target:
jobs:
file-updates:
permissions:
Expand All @@ -9,6 +9,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{github.event.pull_request.head.ref}}
repository: ${{github.event.pull_request.head.repo.full_name}}
- name: Generate files
id: generate-files
run: |
Expand Down

0 comments on commit f954f0b

Please sign in to comment.