We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5206d8 commit 4ef72d5Copy full SHA for 4ef72d5
.github/workflows/release.yml
@@ -3,6 +3,13 @@ on:
3
push:
4
tags:
5
- v*
6
+ # Also trigger when auto-release workflow completes successfully
7
+ workflow_run:
8
+ workflows: ["Auto Release"]
9
+ types:
10
+ - completed
11
+ branches:
12
+ - main
13
14
permissions:
15
contents: write
@@ -11,6 +18,8 @@ jobs:
18
goreleaser:
19
name: Release
20
runs-on: ubuntu-latest
21
+ # Only run if the triggering workflow succeeded (meaning a tag was created)
22
+ if: github.event.workflow_run.conclusion == 'success' || github.event_name == 'push'
23
steps:
24
- name: Checkout
16
25
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
0 commit comments