Skip to content

Commit

Permalink
ci: ensure triage actions work for PRs from forks
Browse files Browse the repository at this point in the history
  • Loading branch information
denolfe committed Dec 4, 2024
1 parent dff71ee commit 12a8bba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr-title.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: pr-title

on:
pull_request:
pull_request_target:
types:
- opened
- edited
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/triage.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: triage

on:
pull_request:
pull_request_target:
types:
- opened
issues:
Expand Down Expand Up @@ -31,7 +31,6 @@ jobs:
steps:
- name: Tag with 'created-by'
uses: actions/github-script@v7
if: github.event.action == 'opened'
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
Expand Down Expand Up @@ -93,6 +92,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.base.ref }}
token: ${{ secrets.GITHUB_TOKEN }}
- uses: ./.github/actions/triage
with:
Expand Down

0 comments on commit 12a8bba

Please sign in to comment.