Internals: Add 'RTLMeter PR results' workflow v3
This commit is contained in:
parent
9953851287
commit
34e3892367
|
|
@ -27,10 +27,16 @@ jobs:
|
||||||
name: rtlmeter-pr-results
|
name: rtlmeter-pr-results
|
||||||
run-id: ${{ github.event.workflow_run.id }}
|
run-id: ${{ github.event.workflow_run.id }}
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
- name: Download PR number
|
||||||
|
uses: actions/download-artifact@v4
|
||||||
|
with:
|
||||||
|
name: pr-number
|
||||||
|
run-id: ${{ github.event.workflow_run.id }}
|
||||||
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Comment on PR
|
- name: Comment on PR
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
ls -la
|
ls -la
|
||||||
cat report.txt
|
cat report.txt
|
||||||
gh pr --repo ${{ github.repository }} comment ${{ github.event.workflow_run.pull_requests[0].number }} --body-file report.txt
|
gh pr --repo ${{ github.repository }} comment $(cat pr-number.txt) --body-file report.txt
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue