From 75008ea4f395ddf2b5d52204e37acff662501fec Mon Sep 17 00:00:00 2001 From: George Gastaldi Date: Wed, 16 Oct 2024 12:28:07 -0300 Subject: [PATCH] Release workflow names are inverted (#173) --- .github/workflows/release-perform.yml | 30 ++++++++++++++++++--------- .github/workflows/release-prepare.yml | 30 +++++++++------------------ 2 files changed, 30 insertions(+), 30 deletions(-) diff --git a/.github/workflows/release-perform.yml b/.github/workflows/release-perform.yml index aedad93..88f9437 100644 --- a/.github/workflows/release-perform.yml +++ b/.github/workflows/release-perform.yml @@ -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}} diff --git a/.github/workflows/release-prepare.yml b/.github/workflows/release-prepare.yml index 88f9437..aedad93 100644 --- a/.github/workflows/release-prepare.yml +++ b/.github/workflows/release-prepare.yml @@ -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}}