Skip to content

Commit

Permalink
Avoid CI workflow is running on release publications
Browse files Browse the repository at this point in the history
and within twice, once for the tag pushed for release and second for the release event.
This was found in https://stackoverflow.com/questions/70743715/how-do-i-configure-a-github-actions-workflow-so-it-does-not-run-on-a-tag-push
  • Loading branch information
kuniss committed Jan 3, 2024
1 parent 54388a8 commit 4e54fcd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: CI
on: [push, pull_request]
on:
push:
branches:
- "*"
pull_request:

jobs:
build:
Expand Down

0 comments on commit 4e54fcd

Please sign in to comment.