Skip to content

Commit

Permalink
adjust ok logic (skipped does not work with required status checks)
Browse files Browse the repository at this point in the history
  • Loading branch information
gartnera committed Jul 3, 2024
1 parent d04b2d2 commit fe756eb
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,12 @@ jobs:
ok:
runs-on: ubuntu-22.04
needs: e2e
if: always()
steps:
- run: echo "e2e tests passed"
- run: |
result="${{ needs.e2e.result }}"
if [[ $result == "success" || $result == "skipped" ]]; then
exit 0
else
exit 1
fi

0 comments on commit fe756eb

Please sign in to comment.