A26 W2: onboarding provision sequencer + enroll + admin FW mount + /o… #48
This file contains hidden or 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: airgap | |
| on: | |
| pull_request: | |
| push: | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Check pull request diff | |
| if: github.event_name == 'pull_request' | |
| run: tools/check-airgap.sh --range "origin/${{ github.base_ref }}...HEAD" | |
| - name: Check push diff | |
| if: github.event_name == 'push' | |
| run: | | |
| if git rev-parse HEAD^ >/dev/null 2>&1; then | |
| tools/check-airgap.sh --range HEAD^..HEAD | |
| else | |
| tools/check-airgap.sh --range HEAD | |
| fi |