Skip to content

Commit

Permalink
Merge pull request #55 from quarkiverse/update_release_names
Browse files Browse the repository at this point in the history
Release workflow names are inverted
  • Loading branch information
loicmathieu authored Oct 16, 2024
2 parents 13d126a + 890baae commit 86adac1
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 30 deletions.
30 changes: 20 additions & 10 deletions .github/workflows/release-perform.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,28 @@
name: Quarkiverse Prepare Release

name: Quarkiverse Perform Release
run-name: Perform ${{github.event.inputs.tag || github.ref_name}} Release
on:
pull_request:
types: [ closed ]
paths:
- '.github/project.yml'
push:
tags:
- '*'
workflow_dispatch:
inputs:
tag:
description: 'Tag to release'
required: true

permissions:
attestations: write
id-token: write
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
prepare-release:
name: Prepare Release
if: ${{ github.event.pull_request.merged == true}}
uses: quarkiverse/.github/.github/workflows/prepare-release.yml@main
perform-release:
name: Perform Release
uses: quarkiverse/.github/.github/workflows/perform-release.yml@main
secrets: inherit
with:
version: ${{github.event.inputs.tag || github.ref_name}}
30 changes: 10 additions & 20 deletions .github/workflows/release-prepare.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,18 @@
name: Quarkiverse Perform Release
run-name: Perform ${{github.event.inputs.tag || github.ref_name}} Release
on:
push:
tags:
- '*'
workflow_dispatch:
inputs:
tag:
description: 'Tag to release'
required: true
name: Quarkiverse Prepare Release

permissions:
attestations: write
id-token: write
contents: read
on:
pull_request:
types: [ closed ]
paths:
- '.github/project.yml'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
perform-release:
name: Perform Release
uses: quarkiverse/.github/.github/workflows/perform-release.yml@main
prepare-release:
name: Prepare Release
if: ${{ github.event.pull_request.merged == true}}
uses: quarkiverse/.github/.github/workflows/prepare-release.yml@main
secrets: inherit
with:
version: ${{github.event.inputs.tag || github.ref_name}}

0 comments on commit 86adac1

Please sign in to comment.