Skip to content

Commit

Permalink
Add more restrictions before deloying, include fetch tags options
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalrymple committed Dec 19, 2023
1 parent c52d608 commit ec7f1f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,14 @@ jobs:

release:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
if: github.ref == 'refs/heads/main' && !contains(github.event.head_commit.message, 'skip ci')
needs: [lint, format, build, test]
steps:
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.GH_TOKEN }}
fetch-tags: true
- uses: ./.github/actions/setup
- name: Retrieve saved build files
uses: actions/download-artifact@v3
Expand Down

0 comments on commit ec7f1f5

Please sign in to comment.