Skip to content

Commit

Permalink
added on trigger and warning description
Browse files Browse the repository at this point in the history
  • Loading branch information
kessler-frost committed Nov 30, 2023
1 parent e031401 commit a85cb2e
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/man_0_assign_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,24 @@

name: man_0_assign_version

on:
workflow_dispatch:
inputs:
check_tests:
type: boolean
required: true
default: true
description: "WARNING: Make sure the `nightly-tests` workflow has passed successfully before running this workflow.
Uncheck this box if it has."

permissions:
id-token: write
contents: read

jobs:
version_assigner:
name: Assign Version
needs:
- license
- tests
if: >
!github.event.inputs.check_tests
uses: AgnostiqHQ/covalent/.github/workflows/changelog.yml@develop
secrets: inherit # pragma: allowlist secret
12 changes: 12 additions & 0 deletions .github/workflows/man_1_push_to_master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,16 @@

name: man_1_push_to_master

on:
workflow_dispatch:
inputs:
check_assign_version:
type: boolean
required: true
default: true
description: "WARNING: Make sure the `man_0_assign_version` workflow has passed successfully before running this workflow.
Uncheck this box if it has."

permissions:
id-token: write
contents: read
Expand Down Expand Up @@ -60,6 +70,8 @@ jobs:
- name: Perform the push to master
id: push
if: >
!github.event.inputs.check_assign_version
run: |
DEVELOP_VERSION="${{ steps.get-versions.outputs.develop_version }}"
MASTER_VERSION="${{ steps.get-versions.outputs.master_version }}"
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/man_2_create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,18 @@

name: man_2_create_release

on:
workflow_dispatch:
inputs:
check_push_to_master:
type: boolean
required: true
default: true
description: "WARNING: Make sure the `man_1_push_to_master` workflow has passed successfully before running this workflow.
Uncheck this box if it has."

permissions:
id-token: write
contents: read

jobs:

0 comments on commit a85cb2e

Please sign in to comment.