Skip to content

Commit

Permalink
πŸ› fix: : Implement pull_request_target in Github Actions
Browse files Browse the repository at this point in the history
Replaced 'pull_request' event with 'pull_request_target' event in Github Actions config file to enable actions to run on PRs from forked repositories. This change allows access to secrets in the workflows triggered by such PRs. Security considerations have been taken into account.

related issue: YJU-OKURA#13
  • Loading branch information
yuminn-k authored Jan 29, 2024
1 parent ffc0599 commit 4b22a50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ permissions:
pull-requests: write

on:
pull_request:
pull_request_target:
types: [opened, synchronize]
jobs:
test:
Expand Down

0 comments on commit 4b22a50

Please sign in to comment.