Skip to content

Commit

Permalink
build: fix workflow syntax, maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
gbotrel committed Sep 13, 2024
1 parent c8a1541 commit 506920b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,10 @@ jobs:
- test
uses: ./.github/workflows/slack-notifications.yml
with:
status: ${{ job.status }}
status: ${{ needs.test.result }}
actor: ${{ github.actor }}
repository: ${{ github.repository }}
pr_title: ${{ github.event.pull_request.title }}
branch: ${{ github.event.pull_request.head.ref }}
run_id: ${{ github.run_id }}
failures: ${{ steps.tests.outputs.failures }}

failures: ${{ needs.test.outputs.failures }}
6 changes: 3 additions & 3 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,16 +81,16 @@ jobs:
go test -v -p 4 -timeout=50m -tags=release_checks -short -race ./test/...
go test -v -run=NONE -fuzz=FuzzIntcomp -fuzztime=30s ./internal/backend/ioutils
slack-notifications:
if: always()
needs:
- staticcheck
- test
uses: ./.github/workflows/slack-notifications.yml
with:
status: ${{ job.status }}
status: ${{ needs.test.result }}
actor: ${{ github.actor }}
repository: ${{ github.repository }}
branch: ${{ github.ref_name }}
run_id: ${{ github.run_id }}
run_id: ${{ github.run_id }}
failures: ${{ needs.test.outputs.failures }}

0 comments on commit 506920b

Please sign in to comment.