Skip to content

Commit

Permalink
Merge pull request #3193 from DataDog/reduce-gha-permission-milestone
Browse files Browse the repository at this point in the history
  • Loading branch information
marcotc authored Oct 10, 2023
2 parents d6d907a + 8f9dfa7 commit e56c150
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/add-milestone-to-pull-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e56c150

Please sign in to comment.