mirror of
https://github.com/intel/llvm.git
synced 2026-01-17 06:40:01 +08:00
This is so that we can read from multiple files emitted by the premerge workflow. Reviewers: tstellar, cmtice Reviewed By: cmtice Pull Request: https://github.com/llvm/llvm-project/pull/170411
34 lines
1.0 KiB
YAML
34 lines
1.0 KiB
YAML
name: Test Issue Write
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- '.github/workflows/issue-write-test.yaml'
|
|
- '.github/workflows/issue-write.yml'
|
|
|
|
jobs:
|
|
test-issue-write:
|
|
name: "Test Issue Write"
|
|
runs-on: ubuntu-24.04
|
|
if: github.repository == 'llvm/llvm-project'
|
|
steps:
|
|
- name: Write Comment
|
|
run: |
|
|
echo '[{"body": "This is a comment for testing the issue write workflow"}]' > comments-foo
|
|
echo '[{"body": "This is another comment for testing the issue write workflow that was placed in a separate file"}]' > comments-bar
|
|
- name: Upload Comment
|
|
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
|
|
with:
|
|
name: workflow-args-foo
|
|
path: |
|
|
comments-foo
|
|
- name: Upload Comment
|
|
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
|
|
with:
|
|
name: workflow-args-bar
|
|
path: |
|
|
comments-bar
|