From 5dcb37c5dd73daa73d1dce83539dd518def61dec Mon Sep 17 00:00:00 2001 From: Scott Lowe Date: Fri, 19 May 2023 15:24:11 -0600 Subject: [PATCH] Add issue and PR automation workflows Add automation workflows to assist with issue and PR management Signed-off-by: Scott Lowe --- .github/workflows/add-to-project.yml | 19 +++++++++++++++++++ .github/workflows/add-triage-label.yml | 17 +++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 .github/workflows/add-to-project.yml create mode 100644 .github/workflows/add-triage-label.yml diff --git a/.github/workflows/add-to-project.yml b/.github/workflows/add-to-project.yml new file mode 100644 index 0000000..ad819e5 --- /dev/null +++ b/.github/workflows/add-to-project.yml @@ -0,0 +1,19 @@ +name: Add issues and PRs to project +on: + issues: + types: + - opened + - reopened + pull_request: + types: + - opened + - reopened +jobs: + add-to-project: + runs-on: ubuntu-latest + steps: + - name: Add to DevRel + uses: actions/add-to-project@v0.4.0 + with: + project-url: https://github.com/orgs/pulumi/projects/47 + github-token: ${{ secrets.PULUMI_BOT_GHA_MARKETING }} \ No newline at end of file diff --git a/.github/workflows/add-triage-label.yml b/.github/workflows/add-triage-label.yml new file mode 100644 index 0000000..b4b1c23 --- /dev/null +++ b/.github/workflows/add-triage-label.yml @@ -0,0 +1,17 @@ +name: Add triage label to new issues and PRs +on: + issues: + types: + - opened + - reopened + pull_request: + types: + - opened + - reopened +jobs: + add-triage-label: + runs-on: ubuntu-latest + steps: + - uses: actions-ecosystem/action-add-labels@v1 + with: + labels: needs-triage \ No newline at end of file