Skip to content

Commit

Permalink
github/workflows: fix the release workflow (#366)
Browse files Browse the repository at this point in the history
Currently, when publishing a new release using Github UI, we trigger 3 release
workflows. It looks like that 3 action types: created, published, released
trigger the workflow. This commit restricts the release workflow to run on
published activity type only.

Reference:
- https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#release
- https://docs.github.com/en/webhooks/webhook-events-and-payloads?actionType=published#release
  • Loading branch information
minh-bq authored Oct 12, 2023
1 parent 2370032 commit eebe749
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: release
on:
release:
types: [published]
tags:
- v*.*.*

Expand Down

0 comments on commit eebe749

Please sign in to comment.