From 9ddbcfa66ff94c3d6163f40a03ce3a8befa6b89e Mon Sep 17 00:00:00 2001 From: Benjamin Darfler Date: Fri, 2 Jul 2021 13:51:04 -0400 Subject: [PATCH] Updates Github Action Workflows --- .github/workflows/add-to-project.yml | 14 ++++++++++++++ .github/workflows/apply-labels.yml | 10 ++-------- 2 files changed, 16 insertions(+), 8 deletions(-) create mode 100644 .github/workflows/add-to-project.yml diff --git a/.github/workflows/add-to-project.yml b/.github/workflows/add-to-project.yml new file mode 100644 index 0000000..ac02faa --- /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 index b6aeae2..7d90af5 100644 --- a/.github/workflows/apply-labels.yml +++ b/.github/workflows/apply-labels.yml @@ -1,16 +1,10 @@ name: Apply project labels - -on: - - issues - - label - - pull_request_target - - pull_request - +on: [issues, pull_request, label] jobs: apply-labels: runs-on: ubuntu-latest name: Apply common project labels steps: - - uses: honeycombio/integrations-labels@v1 + - uses: honeycombio/oss-management-actions/labels@v1 with: github-token: ${{ secrets.GITHUB_TOKEN }}