From eda371339498445ac587e532f0e7fd71d11ef043 Mon Sep 17 00:00:00 2001 From: Sam <109683132+kernelsam@users.noreply.github.com> Date: Mon, 16 Feb 2026 14:11:08 -0800 Subject: [PATCH] standardize workflows for build-resources v4 --- .github/dependabot.yml | 24 ++++++++++++------- .../workflows/add-labels-standardized.yaml | 11 +++++---- .../add-to-project-garage-dependabot.yaml | 11 +++++---- .github/workflows/add-to-project-garage.yaml | 11 +++++---- .github/workflows/claude-pr-review.yaml | 2 +- .../dependabot-approve-and-merge.yaml | 8 +++---- .github/workflows/go-proxy-pull.yaml | 3 ++- .github/workflows/go-test-darwin.yaml | 5 ++-- .github/workflows/go-test-linux.yaml | 5 ++-- .github/workflows/go-test-windows.yaml | 5 ++-- .../link-issues-to-pr-post-merge.yaml | 2 +- .github/workflows/lint-workflows.yaml | 4 ++-- .github/workflows/make-go-tag.yaml | 3 ++- .../workflows/move-pr-to-done-dependabot.yaml | 4 ++-- .github/workflows/spellcheck.yaml | 2 +- .vscode/cspell.json | 1 + 16 files changed, 58 insertions(+), 43 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 5ab0bf0..af99a75 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,17 +1,23 @@ -# Please see the documentation for all configuration options: -# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates - +--- version: 2 updates: - - package-ecosystem: github-actions + - package-ecosystem: "github-actions" + assignees: + - "kernelsam" cooldown: default-days: 21 - directory: / + exclude: + - "senzing-factory/*" + directory: "/" + groups: + senzing-factory: + patterns: + - "senzing-factory/*" schedule: - interval: daily - - package-ecosystem: gomod + interval: "daily" + - package-ecosystem: "gomod" cooldown: default-days: 21 - directory: / + directory: "/" schedule: - interval: daily + interval: "daily" diff --git a/.github/workflows/add-labels-standardized.yaml b/.github/workflows/add-labels-standardized.yaml index e36297f..9ab803e 100644 --- a/.github/workflows/add-labels-standardized.yaml +++ b/.github/workflows/add-labels-standardized.yaml @@ -14,14 +14,15 @@ jobs: 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@v3 + MEMBERS: ${{ secrets.SENZING_MEMBERS }} + uses: senzing-factory/build-resources/.github/workflows/add-labels-to-issue.yaml@v4 slack-notification: needs: [add-issue-labels] - if: ${{ always() && contains(fromJSON('["failure", "cancelled"]'), needs.add-issue-labels.outputs.job-status) }} + if: ${{ always() && contains(fromJSON('["failure", "cancelled"]'), needs.add-issue-labels.result) }} secrets: SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} - uses: senzing-factory/build-resources/.github/workflows/build-failure-slack-notification.yaml@v3 + SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }} + uses: senzing-factory/build-resources/.github/workflows/build-failure-slack-notification.yaml@v4 with: - job-status: ${{ needs.add-issue-labels.outputs.job-status }} + job-status: ${{ needs.add-issue-labels.result }} diff --git a/.github/workflows/add-to-project-garage-dependabot.yaml b/.github/workflows/add-to-project-garage-dependabot.yaml index 48f1ad8..52e6da2 100644 --- a/.github/workflows/add-to-project-garage-dependabot.yaml +++ b/.github/workflows/add-to-project-garage-dependabot.yaml @@ -11,16 +11,17 @@ jobs: permissions: repository-projects: write secrets: - SENZING_GITHUB_PROJECT_RW_TOKEN: ${{ secrets.SENZING_GITHUB_PROJECT_RW_TOKEN }} - uses: senzing-factory/build-resources/.github/workflows/add-to-project-dependabot.yaml@v3 + PROJECT_RW_TOKEN: ${{ secrets.SENZING_GITHUB_PROJECT_RW_TOKEN }} + uses: senzing-factory/build-resources/.github/workflows/add-to-project-dependabot.yaml@v4 with: project: ${{ vars.SENZING_PROJECT_GARAGE }} slack-notification: needs: [add-to-project-dependabot] - if: ${{ always() && contains(fromJSON('["failure", "cancelled"]'), needs.add-to-project-dependabot.outputs.job-status) }} + if: ${{ always() && contains(fromJSON('["failure", "cancelled"]'), needs.add-to-project-dependabot.result) }} secrets: SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} - uses: senzing-factory/build-resources/.github/workflows/build-failure-slack-notification.yaml@v3 + SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }} + uses: senzing-factory/build-resources/.github/workflows/build-failure-slack-notification.yaml@v4 with: - job-status: ${{ needs.add-to-project-dependabot.outputs.job-status }} + job-status: ${{ needs.add-to-project-dependabot.result }} diff --git a/.github/workflows/add-to-project-garage.yaml b/.github/workflows/add-to-project-garage.yaml index e2007a7..e932c5d 100644 --- a/.github/workflows/add-to-project-garage.yaml +++ b/.github/workflows/add-to-project-garage.yaml @@ -13,17 +13,18 @@ jobs: permissions: repository-projects: write secrets: - SENZING_GITHUB_PROJECT_RW_TOKEN: ${{ secrets.SENZING_GITHUB_PROJECT_RW_TOKEN }} - uses: senzing-factory/build-resources/.github/workflows/add-to-project.yaml@v3 + PROJECT_RW_TOKEN: ${{ secrets.SENZING_GITHUB_PROJECT_RW_TOKEN }} + uses: senzing-factory/build-resources/.github/workflows/add-to-project.yaml@v4 with: project-number: ${{ vars.SENZING_PROJECT_GARAGE }} org: ${{ vars.SENZING_GITHUB_ACCOUNT_NAME }} slack-notification: needs: [add-to-project] - if: ${{ always() && contains(fromJSON('["failure", "cancelled"]'), needs.add-to-project.outputs.job-status) }} + if: ${{ always() && contains(fromJSON('["failure", "cancelled"]'), needs.add-to-project.result) }} secrets: SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} - uses: senzing-factory/build-resources/.github/workflows/build-failure-slack-notification.yaml@v3 + SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }} + uses: senzing-factory/build-resources/.github/workflows/build-failure-slack-notification.yaml@v4 with: - job-status: ${{ needs.add-to-project.outputs.job-status }} + job-status: ${{ needs.add-to-project.result }} diff --git a/.github/workflows/claude-pr-review.yaml b/.github/workflows/claude-pr-review.yaml index dbd2bb1..374410f 100644 --- a/.github/workflows/claude-pr-review.yaml +++ b/.github/workflows/claude-pr-review.yaml @@ -12,7 +12,7 @@ permissions: {} jobs: review: - uses: senzing-factory/build-resources/.github/workflows/claude-pull-request-review.yaml@v3 + uses: senzing-factory/build-resources/.github/workflows/claude-pull-request-review.yaml@v4 permissions: contents: read pull-requests: write diff --git a/.github/workflows/dependabot-approve-and-merge.yaml b/.github/workflows/dependabot-approve-and-merge.yaml index a42b5a5..bca2650 100644 --- a/.github/workflows/dependabot-approve-and-merge.yaml +++ b/.github/workflows/dependabot-approve-and-merge.yaml @@ -16,8 +16,8 @@ jobs: contents: write pull-requests: write secrets: - SENZING_GITHUB_CODEOWNER_PR_RW_TOKEN: ${{ secrets.SENZING_GITHUB_CODEOWNER_PR_RW_TOKEN }} - uses: senzing-factory/build-resources/.github/workflows/dependabot-approve-and-merge.yaml@v3 + CODEOWNER_PR_RW_TOKEN: ${{ secrets.SENZING_GITHUB_CODEOWNER_PR_RW_TOKEN }} + uses: senzing-factory/build-resources/.github/workflows/dependabot-approve-and-merge.yaml@v4 with: update-type: "minor" @@ -26,7 +26,7 @@ jobs: contents: write pull-requests: write secrets: - SENZING_GITHUB_CODEOWNER_PR_RW_TOKEN: ${{ secrets.SENZING_GITHUB_CODEOWNER_PR_RW_TOKEN }} - uses: senzing-factory/build-resources/.github/workflows/dependabot-approve-and-merge.yaml@v3 + CODEOWNER_PR_RW_TOKEN: ${{ secrets.SENZING_GITHUB_CODEOWNER_PR_RW_TOKEN }} + uses: senzing-factory/build-resources/.github/workflows/dependabot-approve-and-merge.yaml@v4 with: update-type: "patch" diff --git a/.github/workflows/go-proxy-pull.yaml b/.github/workflows/go-proxy-pull.yaml index ea6a586..63633ae 100644 --- a/.github/workflows/go-proxy-pull.yaml +++ b/.github/workflows/go-proxy-pull.yaml @@ -27,6 +27,7 @@ jobs: if: ${{ always() && contains(fromJSON('["failure", "cancelled"]'), needs.go-proxy-pull.outputs.status) }} secrets: SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} - uses: senzing-factory/build-resources/.github/workflows/build-failure-slack-notification.yaml@v3 + SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }} + uses: senzing-factory/build-resources/.github/workflows/build-failure-slack-notification.yaml@v4 with: job-status: ${{ needs.go-proxy-pull.outputs.status }} diff --git a/.github/workflows/go-test-darwin.yaml b/.github/workflows/go-test-darwin.yaml index 08e770f..7c6b3fa 100644 --- a/.github/workflows/go-test-darwin.yaml +++ b/.github/workflows/go-test-darwin.yaml @@ -67,7 +67,7 @@ jobs: needs: go-test-darwin permissions: contents: read - uses: senzing-factory/build-resources/.github/workflows/go-coverage.yaml@v3 + uses: senzing-factory/build-resources/.github/workflows/go-coverage.yaml@v4 with: coverage-config: ./.github/coverage/testcoverage.yaml @@ -76,6 +76,7 @@ jobs: if: ${{ always() && contains(fromJSON('["failure", "cancelled"]'), needs.go-test-darwin.outputs.status ) && github.event_name == 'schedule' }} secrets: SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} - uses: senzing-factory/build-resources/.github/workflows/build-failure-slack-notification.yaml@v3 + SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }} + uses: senzing-factory/build-resources/.github/workflows/build-failure-slack-notification.yaml@v4 with: job-status: ${{ needs.go-test-darwin.outputs.status }} diff --git a/.github/workflows/go-test-linux.yaml b/.github/workflows/go-test-linux.yaml index 7e26caf..8b64884 100644 --- a/.github/workflows/go-test-linux.yaml +++ b/.github/workflows/go-test-linux.yaml @@ -68,7 +68,7 @@ jobs: needs: go-test-linux permissions: contents: read - uses: senzing-factory/build-resources/.github/workflows/go-coverage.yaml@v3 + uses: senzing-factory/build-resources/.github/workflows/go-coverage.yaml@v4 with: coverage-config: ./.github/coverage/testcoverage.yaml @@ -77,6 +77,7 @@ jobs: if: ${{ always() && contains(fromJSON('["failure", "cancelled"]'), needs.go-test-linux.outputs.status ) && (github.ref_name == github.event.repository.default_branch || github.event_name == 'schedule') }} secrets: SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} - uses: senzing-factory/build-resources/.github/workflows/build-failure-slack-notification.yaml@v3 + SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }} + uses: senzing-factory/build-resources/.github/workflows/build-failure-slack-notification.yaml@v4 with: job-status: ${{ needs.go-test-linux.outputs.status }} diff --git a/.github/workflows/go-test-windows.yaml b/.github/workflows/go-test-windows.yaml index 1878a70..cf293de 100644 --- a/.github/workflows/go-test-windows.yaml +++ b/.github/workflows/go-test-windows.yaml @@ -67,7 +67,7 @@ jobs: needs: go-test-windows permissions: contents: read - uses: senzing-factory/build-resources/.github/workflows/go-coverage.yaml@v3 + uses: senzing-factory/build-resources/.github/workflows/go-coverage.yaml@v4 with: coverage-config: ./.github/coverage/testcoverage.yaml @@ -76,6 +76,7 @@ jobs: if: ${{ always() && contains(fromJSON('["failure", "cancelled"]'), needs.go-test-windows.outputs.status ) && github.event_name == 'schedule' }} secrets: SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} - uses: senzing-factory/build-resources/.github/workflows/build-failure-slack-notification.yaml@v3 + SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }} + uses: senzing-factory/build-resources/.github/workflows/build-failure-slack-notification.yaml@v4 with: job-status: ${{ needs.go-test-windows.outputs.status }} diff --git a/.github/workflows/link-issues-to-pr-post-merge.yaml b/.github/workflows/link-issues-to-pr-post-merge.yaml index a8807c0..1e54021 100644 --- a/.github/workflows/link-issues-to-pr-post-merge.yaml +++ b/.github/workflows/link-issues-to-pr-post-merge.yaml @@ -13,4 +13,4 @@ jobs: permissions: pull-requests: write contents: read - uses: senzing-factory/build-resources/.github/workflows/link-issues-to-pull-request-post-merge.yaml@v3 + uses: senzing-factory/build-resources/.github/workflows/link-issues-to-pull-request-post-merge.yaml@v4 diff --git a/.github/workflows/lint-workflows.yaml b/.github/workflows/lint-workflows.yaml index ebd07bc..2d82e04 100644 --- a/.github/workflows/lint-workflows.yaml +++ b/.github/workflows/lint-workflows.yaml @@ -15,6 +15,6 @@ jobs: permissions: contents: read packages: read - pull-requests: read + pull-requests: write statuses: write - uses: senzing-factory/build-resources/.github/workflows/lint-workflows.yaml@v3 + uses: senzing-factory/build-resources/.github/workflows/lint-workflows.yaml@v4 diff --git a/.github/workflows/make-go-tag.yaml b/.github/workflows/make-go-tag.yaml index 8647bfd..d7df5af 100644 --- a/.github/workflows/make-go-tag.yaml +++ b/.github/workflows/make-go-tag.yaml @@ -36,6 +36,7 @@ jobs: if: ${{ always() && contains(fromJSON('["failure", "cancelled"]'), needs.make-go-tag.outputs.status ) }} secrets: SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} - uses: senzing-factory/build-resources/.github/workflows/build-failure-slack-notification.yaml@v3 + SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }} + uses: senzing-factory/build-resources/.github/workflows/build-failure-slack-notification.yaml@v4 with: job-status: ${{ needs.make-go-tag.outputs.status }} diff --git a/.github/workflows/move-pr-to-done-dependabot.yaml b/.github/workflows/move-pr-to-done-dependabot.yaml index 8094115..add8255 100644 --- a/.github/workflows/move-pr-to-done-dependabot.yaml +++ b/.github/workflows/move-pr-to-done-dependabot.yaml @@ -12,7 +12,7 @@ jobs: permissions: repository-projects: write secrets: - SENZING_GITHUB_PROJECT_RW_TOKEN: ${{ secrets.SENZING_GITHUB_PROJECT_RW_TOKEN }} - uses: senzing-factory/build-resources/.github/workflows/move-pr-to-done-dependabot.yaml@v3 + PROJECT_RW_TOKEN: ${{ secrets.SENZING_GITHUB_PROJECT_RW_TOKEN }} + uses: senzing-factory/build-resources/.github/workflows/move-pr-to-done-dependabot.yaml@v4 with: project: ${{ vars.SENZING_PROJECT_GARAGE }} diff --git a/.github/workflows/spellcheck.yaml b/.github/workflows/spellcheck.yaml index 49f496a..2474a9e 100644 --- a/.github/workflows/spellcheck.yaml +++ b/.github/workflows/spellcheck.yaml @@ -14,4 +14,4 @@ jobs: spellcheck: permissions: contents: read - uses: senzing-factory/build-resources/.github/workflows/cspell.yaml@v3 + uses: senzing-factory/build-resources/.github/workflows/cspell.yaml@v4 diff --git a/.vscode/cspell.json b/.vscode/cspell.json index 6f72f97..30504d7 100644 --- a/.vscode/cspell.json +++ b/.vscode/cspell.json @@ -29,6 +29,7 @@ "gotesttools", "govulncheck", "ICLA", + "kernelsam", "LDFLAGS", "OSARCH", "OSTYPE",