Assign milestone to PR #11782
Workflow file for this run
This file contains 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: Assign milestone to PR | |
on: | |
pull_request_review: | |
types: [submitted] | |
concurrency: | |
group: '${{ github.workflow }}-${{ github.ref }}' | |
cancel-in-progress: true | |
jobs: | |
assign_milestone: | |
if: false | |
name: Add milestone | |
permissions: | |
issues: write | |
pull-requests: write | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: useblacksmith/setup-node@v5 | |
with: | |
node-version: 20.8.1 | |
- name: Install Octokit | |
run: npm --prefix .github/workflows/scripts install @octokit/action | |
- name: Assign milestones | |
id: check | |
run: node .github/workflows/scripts/milestone-assigner.js | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |