Skip to content

Commit

Permalink
Check branch expression
Browse files Browse the repository at this point in the history
  • Loading branch information
JonJagger committed Oct 17, 2024
1 parent 85086eb commit 6d209bc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,18 @@ jobs:
name: ${{ steps.variables.outputs.name }}
fingerprint: ${{ steps.variables.outputs.fingerprint }}
steps:
- name: check branch condition before checkout
run: |
echo ":${{ github.ref }}:"
- uses: actions/checkout@v4
with:
fetch-depth: 1

- name: check branch condition after checkout
run: |
echo ":${{ github.ref }}:"
- name: Do wibble
id: wibble
run: |
Expand Down

0 comments on commit 6d209bc

Please sign in to comment.