diff --git a/.github/workflows/add-milestone-to-pull-requests.yml b/.github/workflows/add-milestone-to-pull-requests.yml index 9de983cd022..56e11ff2e86 100644 --- a/.github/workflows/add-milestone-to-pull-requests.yml +++ b/.github/workflows/add-milestone-to-pull-requests.yml @@ -7,9 +7,14 @@ on: jobs: add_milestone_to_merged: + permissions: + pull-requests: write + if: github.event.pull_request.merged && github.event.pull_request.milestone == null + name: Add milestone to merged pull requests runs-on: ubuntu-latest + steps: - name: Get project milestones id: milestones