1
0
mirror of synced 2025-12-19 09:57:42 -05:00
Files
docs/.github/workflows/move-ready-to-merge-pr.yaml
dependabot[bot] 3e333183fb Bump actions/checkout from 5.0.0 to 6.0.1 (#58937)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-16 23:37:47 +00:00

43 lines
1.3 KiB
YAML

name: Move and unlabel ready to merge PRs
# **What it does**: When a PR in the open source repo is labeled "ready to merge," the "waiting for review" label is removed and the PR is moved to the "Triage" column.
# **Why we have it**: To help with managing our project boards.
# **Who does it impact**: Open source contributors, open-source maintainers.
on:
# Needed in lieu of `pull_request` so that the a PR from a fork can trigger the project board and label automation.
pull_request_target:
types:
- labeled
permissions:
contents: read
pull-requests: write
jobs:
unmark_for_review:
if: >-
${{
github.repository == 'github/docs' &&
github.event.label.name == 'ready to merge'
}}
runs-on: ubuntu-latest
steps:
- name: move PR
uses: alex-page/github-project-automation-plus@303f24a24c67ce7adf565a07e96720faf126fe36
with:
project: Docs open source board
column: Triage
repo-token: ${{ secrets.DOCS_BOT_PAT_BASE }}
- name: Check out repo
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- uses: ./.github/actions/node-npm-setup
- name: remove label
uses: ./.github/actions/labeler
with:
ignoreifAssigned: 'false'
removeLabels: 'waiting for review'