Skip to content

Commit

Permalink
CI: limit triggers on main (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Apr 7, 2024
1 parent 14ea3e7 commit d5de121
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ name: CI
on:
push:
branches:
- "**"
- "!dependabot/**"
- "main"
tags:
- "v**"
pull_request:
Expand Down Expand Up @@ -105,7 +104,7 @@ jobs:

publish:
name: Publish on npm
if: github.repository == 'fenneclab/hugo-bin' && startsWith(github.ref, 'refs/tags/')
if: github.repository == 'fenneclab/hugo-bin' && startsWith(github.ref, 'refs/tags/v')
needs: [lint, test, test-extended]
runs-on: ubuntu-latest

Expand Down

0 comments on commit d5de121

Please sign in to comment.