Skip to content

Commit e5aa8b2

Browse files
Copilotrajbos
andcommitted
Fix tag-rajbos workflow by splitting into conditional steps for issues and PRs
Co-authored-by: rajbos <6085745+rajbos@users.noreply.github.com>
1 parent 77fb9a8 commit e5aa8b2

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

.github/workflows/tag-rajbos.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,18 @@ jobs:
1818
pull-requests: write
1919

2020
steps:
21-
- name: Tag rajbos on new issue or PR
21+
- name: Tag rajbos on new issue
22+
if: github.event_name == 'issues'
2223
uses: devops-actions/issue-comment-tag@v0.1.8
2324
with:
2425
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2526
team: rajbos
27+
issue: ${{ github.event.issue.number }}
28+
29+
- name: Tag rajbos on new PR
30+
if: github.event_name == 'pull_request'
31+
uses: devops-actions/issue-comment-tag@v0.1.8
32+
with:
33+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
team: rajbos
35+
pr: ${{ github.event.pull_request.number }}

0 commit comments

Comments
 (0)