diff --git a/.github/workflows/create-release-candidate.yml b/.github/workflows/create-release-candidate.yml new file mode 100644 index 00000000..918e85f0 --- /dev/null +++ b/.github/workflows/create-release-candidate.yml @@ -0,0 +1,23 @@ +name: Create release candidate + +on: + workflow_dispatch: + inputs: + version-locked: + type: boolean + description: Prevent this action from creating a minor or major release + default: true + +jobs: + create-release-candidate: + runs-on: ubuntu-latest + steps: + - uses: dequelabs/axe-api-team-public/.github/actions/create-release-candidate-v1@main + with: + token: ${{ secrets.GH_PROJECT_TOKEN }} + base: 'master' + head: 'develop' + release-script-path: './.github/scripts/prepare_release.sh' + version-locked: ${{ inputs.version-locked }} + env: + GH_TOKEN: ${{ secrets.GH_PROJECT_TOKEN }}