Skip to content

Commit

Permalink
build(.github/workflows): workflow no longer triggered on tag push, d…
Browse files Browse the repository at this point in the history
…ependabot/snyk push
  • Loading branch information
Xunnamius committed Dec 7, 2020
1 parent 4276284 commit 1096e6f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/build-test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ name: build-test-deploy
on:
workflow_dispatch: # * Treated like a `push` event with custom refs
push:
tags-ignore:
- '**'
branches-ignore:
- 'dependabot/**'
- 'snyk-*'
pull_request:
types: [opened, synchronize]
branches: [main, canary]
Expand Down
4 changes: 3 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,9 @@ even reach the remote CI pipeline.
The CI/CD pipeline is triggered by two
[events](https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows):

- `push` events
- `push` events that:
- Are of non-tag refs (pushed tags are ignored by CI/CD)
- Are of refs that do not start with `dependabot/` or `snyk-`
- `pull_request` events that:
- Are of type `synchronize` or `opened`
- Compare against branches `main` or `canary`
Expand Down

0 comments on commit 1096e6f

Please sign in to comment.