Skip to content

Commit 7c3f932

Browse files
boomanaiden154Honey Goyal
authored andcommitted
[Github] Add workflow to test the issue write workflow
This does not test most of the functionality (i.e., that writing to an existing comment still works), but does ensure that the plumbing works and things are not completely broken. Reviewers: tstellar, cmtice Reviewed By: cmtice Pull Request: llvm#170209
1 parent 6eadead commit 7c3f932

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Test Issue Write
2+
3+
permissions:
4+
contents: read
5+
6+
on:
7+
pull_request:
8+
paths:
9+
- '.github/workflows/issue-write-test.yaml'
10+
11+
jobs:
12+
test-issue-write:
13+
name: "Test Issue Write"
14+
runs-on: ubuntu-24.04
15+
if: github.repository == 'llvm/llvm-project'
16+
steps:
17+
- name: Write Comment
18+
run: |
19+
echo '[{"body": "This is a comment for testing the issue write workflow"}]' > comments
20+
- name: Upload Comment
21+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
22+
with:
23+
name: workflow-args
24+
path: |
25+
comments

0 commit comments

Comments
 (0)