Skip to content

Assign milestone to PR #5149

Assign milestone to PR

Assign milestone to PR #5149

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-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- 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 }}