Skip to content

Commit 10dda58

Browse files
Add GHA to auto-assign milestones to issues/PRs (#333)
Introduces a workflow to automatically assign the current milestone to newly opened issues and pull requests targeting the main branch. This improves workflow automation and ensures consistent milestone tracking. Leverages a reusable workflow from UBC-MOAD.
1 parent f59b921 commit 10dda58

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Add Milestone to Issue/PR
2+
3+
on:
4+
issues:
5+
types:
6+
- opened
7+
pull_request:
8+
types:
9+
- opened
10+
branches:
11+
- main
12+
13+
jobs:
14+
add_milestone:
15+
permissions:
16+
issues: write
17+
pull-requests: write
18+
uses: UBC-MOAD/gha-workflows/.github/workflows/auto-milestone-issue-pr.yaml@main

0 commit comments

Comments
 (0)