Compare commits
1 commit
dbfcc92423
...
ea5ae516ad
Author | SHA1 | Date | |
---|---|---|---|
ea5ae516ad |
1 changed files with 7 additions and 1 deletions
|
@ -99,13 +99,19 @@ runs:
|
|||
echo "GITHUB_OUTPUT=$GITHUB_OUTPUT"
|
||||
ls -l "$GITHUB_OUTPUT"
|
||||
echo "pr-number=$pr_number" >> "$GITHUB_OUTPUT"
|
||||
# - name: Test that PR number is retrieveable
|
||||
# if: inputs.comment-on-pr == 'true' && steps.pr-number.outputs.pr-number != ''
|
||||
# env:
|
||||
# PR_ID: ${{ steps.pr-number.outputs.pr-number }}
|
||||
# run: |
|
||||
# echo PR_ID="$PR_ID"
|
||||
- name: Find previous comment (if present)
|
||||
# We want to generate a comment, and we we able to fin the PR number
|
||||
if: inputs.comment-on-pr == 'true' && steps.pr-number.outputs.pr-number != ''
|
||||
id: find-comment
|
||||
uses: https://github.com/peter-evans/find-comment@3eae4d37986fb5a8592848f6a574fdf654e61f9e # v3
|
||||
with:
|
||||
issue-number: steps.pr-number.outputs.pr-number
|
||||
issue-number: ${{ steps.pr-number.outputs.pr-number }}
|
||||
direction: first
|
||||
body-includes: "<!-- AUTOGENERATED by nix-flake-outputs-size action -->"
|
||||
- name: Create report
|
||||
|
|
Loading…
Add table
Reference in a new issue