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 (red-hat-data-services#1296)

Signed-off-by: AJAY JAGANATHAN <ajaganat@redhat.com>
  • Loading branch information
AjayJagan authored and zdtsw committed Oct 16, 2024
1 parent f7d5537 commit ba15ffd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 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,10 +9,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{github.event.pull_request.head.ref}}
- name: setup-go
uses: actions/setup/go@v4
with:
go-version-file> go.mod`
repository: ${{github.event.pull_request.head.repo.full_name}}
>>>>>>> f954f0be ((fix): Change on trigger event to `pull_request_target` in the "Check 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))
- name: Generate files
id: generate-files
run: |
Expand Down

0 comments on commit ba15ffd

Please sign in to comment.