name: Release on: pull_request: types: [closed] branches: [main] permissions: contents: write jobs: release: if: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'release') runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 with: fetch-depth: 0 token: ${{ secrets.GITHUB_TOKEN }} - name: Setup mise uses: jdx/mise-action@c37c93293d6b742fc901e1406b8f764f6fb19dac # v2 - name: Release run: ./scripts/postversion.sh env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}