Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/on_issue.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
name: CI (issue)
name: CI (issue or PR)

on:
# Runs when a new issue is opened.
issues:
types:
- opened
# Runs when a new PR is opened. pull_request_target so the token has write access for PRs from forks; no code is checked out here.
pull_request_target:
types:
- opened

permissions:
contents: read
Expand All @@ -15,9 +19,10 @@ jobs:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write

steps:
# Add the "t-tooling" label to all new issues
# Add the "t-tooling" label to all new issues and PRs
- uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
with:
script: |
Expand Down
Loading