Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
LinZhihao-723 committed Dec 1, 2024
1 parent 0827815 commit 6a16efc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/pr-title-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: "pr-title-checks"

on:
pull_request_target:
# NOTE: The `pull_request_target` event means GITHUB_TOKEN can access secrets and is granted
# read/write repository access by default. So we need to ensure:
# - This workflow doesn't inadvertently check out, build, or execute untrusted code from the
# pull request triggered by this event.
# - Each job has `permissions` set to only those necessary.
types: ["edited", "opened", "reopened"]
branches: ["main"]

Expand Down

0 comments on commit 6a16efc

Please sign in to comment.