Skip to content

Commit

Permalink
docs: rs-semver-checks should be ran under pull_request_target (#22)
Browse files Browse the repository at this point in the history
Closes #20
  • Loading branch information
aborgna-q authored Nov 15, 2024
1 parent a342d55 commit b1d1dcd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ Suggests adding a breaking change flag to the PR title if necessary.
```yaml
name: Rust Semver Checks
on:
pull_request:
pull_request_target:
branches:
- main
Expand All @@ -185,6 +185,8 @@ The fine-grained `GITHUB_PAT` secret must include the following permissions:
| --- | --- |
| Pull requests | Read and write |

Note that repository secrets are not available to forked repositories on `pull_request` events.
To run this workflow on pull requests from forks, ensure the action is triggered by a `pull_request_target` event instead.

## [`slack-notifier`](https://github.com/CQCL/hugrverse-actions/blob/main/.github/workflows/slack-notifier.yml)

Expand Down

0 comments on commit b1d1dcd

Please sign in to comment.