Updated Mutexbot CLI flow to use DB #1
Workflow file for this run
This file contains hidden or 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: Deploy Queue PR pre-release cleanup | |
| on: | |
| pull_request: | |
| types: ["closed"] | |
| branches: ["main"] | |
| paths: ["deploy-queue/**"] | |
| permissions: {} | |
| jobs: | |
| delete-prerelease: | |
| runs-on: ubuntu-24.04 | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Harden the runner (Audit all outbound calls) | |
| uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0 | |
| with: | |
| egress-policy: audit | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - name: Delete pre-release for closed PR | |
| run: | | |
| echo "Deleting pre-release for PR #${{ github.event.pull_request.number }}" | |
| gh release delete "deploy-queue-pr-${{ github.event.pull_request.number }}" \ | |
| --yes \ | |
| --cleanup-tag | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |