Skip to content

unblock

unblock #2358

Workflow file for this run

name: unblock
on:
push:
branches:
- main
paths:
- .github/workflows/unblock.yaml
# for manual triggers
workflow_dispatch:
# daily run
schedule:
- cron: "30 1/3 * * *"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref || github.sha }}-${{ github.base_ref || '' }}
cancel-in-progress: true
jobs:
unblock:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Remove blocked label from all PRs
env:
GH_TOKEN: ${{ github.token }}
run: |
gh pr list --json number -q '.[].number' | xargs -n 1 gh pr edit --remove-label blocked