debug: workflow
This commit is contained in:
parent
a49e4edcc1
commit
148738ff23
2 changed files with 9 additions and 1 deletions
1
.github/workflows/pr-receive.yml
vendored
1
.github/workflows/pr-receive.yml
vendored
|
|
@ -16,6 +16,7 @@ jobs:
|
|||
run: |
|
||||
mkdir -p ./pr
|
||||
echo ${{ github.event.number }} > ./pr/NR
|
||||
echo ${{ github.event.pull_request.head.sha }} > ./pr/SHA
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: pr
|
||||
|
|
|
|||
9
.github/workflows/pr-test.yml
vendored
9
.github/workflows/pr-test.yml
vendored
|
|
@ -38,7 +38,14 @@ jobs:
|
|||
- name: "Unzip"
|
||||
run: |
|
||||
unzip pr.zip
|
||||
ls -l
|
||||
cat NR
|
||||
cat SHA
|
||||
echo HEAD=$(cat SHA) >> $GITHUB_ENV
|
||||
|
||||
- name: Checkout pull request HEAD commit
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
ref: ${{ env.HEAD }}
|
||||
|
||||
- name: "Comment on PR"
|
||||
uses: actions/github-script@v3
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue