Bump actions/github-script from 2b34a689ec86a68d8ab9478298f91d5401337b7d to 4020e461acd7a80762cdfff123a1fde368246fa4 #739
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: 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: | |
| pull_request_target: | |
| types: | |
| - labeled | |
| permissions: | |
| 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@bb266ff4dde9242060e2d5418e120a133586d488 | |
| with: | |
| project: Docs open source board | |
| column: Triage | |
| repo-token: ${{ secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES }} | |
| - name: remove label | |
| uses: andymckay/labeler@e6c4322d0397f3240f0e7e30a33b5c5df2d39e90 | |
| with: | |
| ignore-if-assigned: 'false' | |
| remove-labels: 'waiting for review' |