Execute releasability checks #328
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Execute releasability checks | |
on: | |
workflow_dispatch: | |
inputs: | |
organization: | |
description: "GitHub organization" | |
required: true | |
default: "SonarSource" | |
type: choice | |
options: | |
- SonarSource | |
repository: | |
description: "GitHub repository" | |
required: true | |
branch: | |
description: "Branch" | |
default: "master" | |
required: true | |
version: | |
description: "The version to check" | |
required: true | |
commit-sha: | |
description: "Commit SHA" | |
required: true | |
releasabily-env: | |
description: "For development purposes, the environment to use. Defaults to production." | |
required: false | |
default: prod | |
type: choice | |
options: | |
- prod | |
- staging | |
- dev | |
jobs: | |
trigger_releasability_checks: | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Trigger releasability checks | |
uses: ./ | |
with: | |
organization: ${{ github.event.inputs.organization }} | |
repository: ${{ github.event.inputs.repository }} | |
branch: ${{ github.event.inputs.branch }} | |
version: ${{ github.event.inputs.version }} | |
commit-sha: ${{ github.event.inputs.commit-sha }} | |
releasabily-env: ${{ github.event.inputs.releasabily-env }} |