Do not fail commits on workflow checks #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Git Checks | |
on: [pull_request] | |
jobs: | |
block-fixup: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Check fixup commits | |
id: check-fixup | |
uses: 13rac1/[email protected] | |
continue-on-error: true | |
- name: Annotate exit status | |
run: | | |
set -eu | |
if [ ${{ steps.check-fixup.outcome }} == "failure" ]; then | |
exit 78 # Neutral status | |
fi |