dequelabs / axe-core-nuget

Axe Core integration for C# .NET
19 stars 6 forks source link

Create GHA for manually triggering create-release-candidate #125

Closed dequejenn closed 1 year ago

dequejenn commented 1 year ago

Create a GHA that calls the public action @axe-api-team-public/create-release-candidate. For now, don't schedule it, just add a manual trigger that has a checkbox and set variables as follows:

name: Create release candidate 

on:
  workflow_dispatch
    inputs:
      version-locked:
        type: boolean
        description: Follow semver versioning if not version locked
        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 }}
          slack-webhook: ${{ secrets.SLACK_WEBHOOK }}
          base: 'master'
          head: 'develop'
          release-script-path: '/.github/scripts/prepare_release.sh'
          version-locked: ${{ inputs.version-locked }}
        env:
          GH_TOKEN: ${{ secrets.GH_PROJECT_TOKEN }}
Zidious commented 1 year ago

No QA required