Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test failing PR from mvdbeek #6

Closed
wants to merge 16 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/workflow_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,22 +98,22 @@ jobs:
id: check
with:
mode: check
- name: Get PR object
- uses: jwalton/gh-find-current-pr@v1
if: failure()
uses: 8BitJonny/[email protected]
id: failed_pr_number
id: findPr
with:
sha: ${{ github.event.pull_request.head.sha }}
- name: Debug GetPR output
# Can be "open", "closed", or "all". Defaults to "open".
state: all
- run: echo "Your PR is ${PR}"
if: failure()
run: |
echo ${{ steps.failed_pr_number.outputs.number }}
env:
PR: ${{ github.event.number || steps.findPr.outputs.pr }}
- name: Post comment with test report
if: failure()
uses: peter-evans/create-or-update-comment@v3
with:
token: ${{ secrets.PAT }}
issue-number: ${{ steps.failed_pr_number.outputs.number }}
issue-number: ${{ github.event.number || steps.findPr.outputs.number }}
body-path: upload/tool_test_output.md

# deploy workflows to organization
Expand Down
Loading
Loading