Skip to content

Commit

Permalink
Add GHA to auto-assign milestones to issues/PRs (#60) (#56)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
douglatornell authored Feb 3, 2025
1 parent 2641517 commit 9cc78bd
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/add-milestone-issue-pr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Add Milestone to Issue/PR

on:
issues:
types:
- opened
pull_request:
types:
- opened
branches:
- main

jobs:
add_milestone:
permissions:
issues: write
pull-requests: write
uses: UBC-MOAD/gha-workflows/.github/workflows/auto-milestone-issue-pr.yaml@main

0 comments on commit 9cc78bd

Please sign in to comment.