Compare commits
1 commit
ea5ae516ad
...
58249e9ad0
Author | SHA1 | Date | |
---|---|---|---|
58249e9ad0 |
1 changed files with 2 additions and 8 deletions
10
action.yml
10
action.yml
|
@ -96,15 +96,9 @@ runs:
|
||||||
log "Retrieved index: $pr_number"
|
log "Retrieved index: $pr_number"
|
||||||
log "Expected PR URL: $GITHUB_SERVER_URL/$GITHUB_REPOSITORY/pulls/$pr_number"
|
log "Expected PR URL: $GITHUB_SERVER_URL/$GITHUB_REPOSITORY/pulls/$pr_number"
|
||||||
|
|
||||||
echo "GITHUB_OUTPUT=$GITHUB_OUTPUT"
|
log "GITHUB_OUTPUT=$GITHUB_OUTPUT"
|
||||||
ls -l "$GITHUB_OUTPUT"
|
log "$(ls -l "$GITHUB_OUTPUT")"
|
||||||
echo "pr-number=$pr_number" >> "$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)
|
- name: Find previous comment (if present)
|
||||||
# We want to generate a comment, and we we able to fin the PR number
|
# 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 != ''
|
if: inputs.comment-on-pr == 'true' && steps.pr-number.outputs.pr-number != ''
|
||||||
|
|
Loading…
Add table
Reference in a new issue