Skip to content

Commit a0f7f50

Browse files
authored
Release workflow names are inverted (#334)
1 parent e71aba0 commit a0f7f50

File tree

2 files changed

+30
-30
lines changed

2 files changed

+30
-30
lines changed

.github/workflows/release-perform.yml

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,28 @@
1-
name: Quarkiverse Prepare Release
2-
1+
name: Quarkiverse Perform Release
2+
run-name: Perform ${{github.event.inputs.tag || github.ref_name}} Release
33
on:
4-
pull_request:
5-
types: [ closed ]
6-
paths:
7-
- '.github/project.yml'
4+
push:
5+
tags:
6+
- '*'
7+
workflow_dispatch:
8+
inputs:
9+
tag:
10+
description: 'Tag to release'
11+
required: true
12+
13+
permissions:
14+
attestations: write
15+
id-token: write
16+
contents: read
817

918
concurrency:
1019
group: ${{ github.workflow }}-${{ github.ref }}
1120
cancel-in-progress: true
1221

1322
jobs:
14-
prepare-release:
15-
name: Prepare Release
16-
if: ${{ github.event.pull_request.merged == true}}
17-
uses: quarkiverse/.github/.github/workflows/prepare-release.yml@main
23+
perform-release:
24+
name: Perform Release
25+
uses: quarkiverse/.github/.github/workflows/perform-release.yml@main
1826
secrets: inherit
27+
with:
28+
version: ${{github.event.inputs.tag || github.ref_name}}

.github/workflows/release-prepare.yml

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,18 @@
1-
name: Quarkiverse Perform Release
2-
run-name: Perform ${{github.event.inputs.tag || github.ref_name}} Release
3-
on:
4-
push:
5-
tags:
6-
- '*'
7-
workflow_dispatch:
8-
inputs:
9-
tag:
10-
description: 'Tag to release'
11-
required: true
1+
name: Quarkiverse Prepare Release
122

13-
permissions:
14-
attestations: write
15-
id-token: write
16-
contents: read
3+
on:
4+
pull_request:
5+
types: [ closed ]
6+
paths:
7+
- '.github/project.yml'
178

189
concurrency:
1910
group: ${{ github.workflow }}-${{ github.ref }}
2011
cancel-in-progress: true
2112

2213
jobs:
23-
perform-release:
24-
name: Perform Release
25-
uses: quarkiverse/.github/.github/workflows/perform-release.yml@main
14+
prepare-release:
15+
name: Prepare Release
16+
if: ${{ github.event.pull_request.merged == true}}
17+
uses: quarkiverse/.github/.github/workflows/prepare-release.yml@main
2618
secrets: inherit
27-
with:
28-
version: ${{github.event.inputs.tag || github.ref_name}}

0 commit comments

Comments
 (0)