From 8e3c4bc84dfda64a9b9cc21ef5da7181a8490dc3 Mon Sep 17 00:00:00 2001 From: Ben Darfler Date: Tue, 6 Jul 2021 10:57:27 -0400 Subject: [PATCH] Updates Github Action Workflows (#52) --- .github/workflows/add-to-project.yml | 14 ++++++++++++++ .github/workflows/apply-labels.yml | 10 ++++++++++ 2 files changed, 24 insertions(+) create mode 100644 .github/workflows/add-to-project.yml create mode 100644 .github/workflows/apply-labels.yml diff --git a/.github/workflows/add-to-project.yml b/.github/workflows/add-to-project.yml new file mode 100644 index 00000000..ac02faa1 --- /dev/null +++ b/.github/workflows/add-to-project.yml @@ -0,0 +1,14 @@ +name: Apply project management flow +on: + issues: + types: [opened] + pull_request_target: + types: [opened] +jobs: + project-management: + runs-on: ubuntu-latest + name: Apply project management flow + steps: + - uses: honeycombio/oss-management-actions/projects@v1 + with: + ghprojects-token: ${{ secrets.GHPROJECTS_TOKEN }} diff --git a/.github/workflows/apply-labels.yml b/.github/workflows/apply-labels.yml new file mode 100644 index 00000000..7d90af51 --- /dev/null +++ b/.github/workflows/apply-labels.yml @@ -0,0 +1,10 @@ +name: Apply project labels +on: [issues, pull_request, label] +jobs: + apply-labels: + runs-on: ubuntu-latest + name: Apply common project labels + steps: + - uses: honeycombio/oss-management-actions/labels@v1 + with: + github-token: ${{ secrets.GITHUB_TOKEN }}