Skip to content

Commit

Permalink
Merge pull request #133 from plietar/fix-number
Browse files Browse the repository at this point in the history
Fix the PR number artifact when triggered from a comment.
  • Loading branch information
lorenzwalthert committed May 17, 2024
2 parents 02f75ba + 5e8439f commit 27004bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion actions/receive/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ runs:
}
var pull = {
number: pr.number,
head_repo: pr.head.repo.full_name,
head_ref: pr.head.ref,
is_fork: is_fork,
Expand Down Expand Up @@ -126,7 +127,7 @@ runs:
shell: Rscript {0}
- name: Uploading Results
run: |
echo ${{ github.event.number }} > ./touchstone/pr-comment/NR
echo ${{ fromJSON(steps.get-pull.outputs.result).number }} > ./touchstone/pr-comment/NR
shell: bash
- uses: actions/upload-artifact@v2
with:
Expand Down

0 comments on commit 27004bb

Please sign in to comment.