From beeae7bb2d070fbf2b2cd8212ac35cfe434590b6 Mon Sep 17 00:00:00 2001 From: Sam <109683132+kernelsam@users.noreply.github.com> Date: Tue, 16 Jan 2024 14:48:33 -0800 Subject: [PATCH] senzing-factory/build-resources#63 cleanup factory workflows (#14) * senzing-factory/build-resources#63 cleanup factory workflows * correct capitalization --- .github/CODEOWNERS | 2 ++ .../workflows/add-labels-standardized.yaml | 16 +++++++++++++ .github/workflows/add-to-project-gdev.yaml | 17 +++++++++++++ .github/workflows/issue-automation.yaml | 24 ------------------- 4 files changed, 35 insertions(+), 24 deletions(-) create mode 100644 .github/workflows/add-labels-standardized.yaml create mode 100644 .github/workflows/add-to-project-gdev.yaml delete mode 100644 .github/workflows/issue-automation.yaml diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 7749c560..edffc2f4 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,3 +1,5 @@ # Default code owner * @Senzing/senzing-gdev + +/.github/ @Senzing/senzing-devsecops diff --git a/.github/workflows/add-labels-standardized.yaml b/.github/workflows/add-labels-standardized.yaml new file mode 100644 index 00000000..c20a7124 --- /dev/null +++ b/.github/workflows/add-labels-standardized.yaml @@ -0,0 +1,16 @@ +name: 'add labels standardized' + +on: + issues: + types: + - opened + - reopened + +jobs: + add-issue-labels: + permissions: + issues: write + secrets: + ORG_MEMBERSHIP_TOKEN: ${{ secrets.ORG_MEMBERSHIP_TOKEN }} + SENZING_MEMBERS: ${{ secrets.SENZING_MEMBERS }} + uses: senzing-factory/build-resources/.github/workflows/add-labels-to-issue.yaml@v1 diff --git a/.github/workflows/add-to-project-gdev.yaml b/.github/workflows/add-to-project-gdev.yaml new file mode 100644 index 00000000..37ddfdc4 --- /dev/null +++ b/.github/workflows/add-to-project-gdev.yaml @@ -0,0 +1,17 @@ +name: 'add to project gdev' + +on: + issues: + types: + - opened + - reopened + +jobs: + add-to-project: + secrets: + SENZING_GITHUB_ACCESS_TOKEN: ${{ secrets.SENZING_GITHUB_ACCESS_TOKEN }} + uses: Senzing/build-resources/.github/workflows/add-to-project.yaml@main + with: + classic: true + org: "senzing" + project-number: "9" diff --git a/.github/workflows/issue-automation.yaml b/.github/workflows/issue-automation.yaml deleted file mode 100644 index 15add1d0..00000000 --- a/.github/workflows/issue-automation.yaml +++ /dev/null @@ -1,24 +0,0 @@ ---- - -name: 'issue automation' - -on: - issues: - types: - - reopened - - opened - -jobs: - add-issue-to-community: - uses: Senzing/build-resources/.github/workflows/add-to-project.yaml@main - with: - project-number: "9" - classic: true - secrets: - SENZING_GITHUB_ACCESS_TOKEN: ${{ secrets.SENZING_GITHUB_ACCESS_TOKEN }} - - add-issue-labels: - uses: Senzing/build-resources/.github/workflows/add-labels-to-issue.yaml@main - secrets: - ORG_MEMBERSHIP_TOKEN: ${{ secrets.ORG_MEMBERSHIP_TOKEN }} - SENZING_MEMBERS: ${{ secrets.SENZING_MEMBERS }}