From 9ad4c7c5feb588f8980bcb3fee33f9492f536a12 Mon Sep 17 00:00:00 2001 From: Wilken Rivera Date: Wed, 10 Jun 2020 15:10:48 -0400 Subject: [PATCH] .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. --- .github/workflows/issues.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/issues.yml diff --git a/.github/workflows/issues.yml b/.github/workflows/issues.yml new file mode 100644 index 000000000..be0e02355 --- /dev/null +++ b/.github/workflows/issues.yml @@ -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"