.github/workflows/issues: Add milestone labeling action

This change adds a GitHub action that will automatically apply the
`track-internal` label to any issue that is added to an existing Packer
milestone.
This commit is contained in:
Wilken Rivera 2020-06-10 15:10:48 -04:00
parent c984f71786
commit 9ad4c7c5fe
1 changed files with 13 additions and 0 deletions

13
.github/workflows/issues.yml vendored Normal file
View File

@ -0,0 +1,13 @@
name: Milestone Labeler
on:
issues:
types: [milestoned]
jobs:
apply_labels:
runs-on: ubuntu-latest
steps:
- name: Add track-internal
uses: andymckay/labeler@1.0.2
with:
repo-token: ${{ secrets.Github_Token }}
add-labels: "track-internal"