diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 9c5ea79..e7f1ba5 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,17 +1,22 @@ -# 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: pip + interval: "daily" + - package-ecosystem: "pip" 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-senzing-dependabot.yaml b/.github/workflows/add-to-project-senzing-dependabot.yaml index d8fa161..43e71dc 100644 --- a/.github/workflows/add-to-project-senzing-dependabot.yaml +++ b/.github/workflows/add-to-project-senzing-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_GITHUB_ORGANIZATION_PROJECT }} 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-senzing.yaml b/.github/workflows/add-to-project-senzing.yaml index 6d67d89..169bff3 100644 --- a/.github/workflows/add-to-project-senzing.yaml +++ b/.github/workflows/add-to-project-senzing.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_GITHUB_ORGANIZATION_PROJECT }} 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 c76218a..3b5e853 100644 --- a/.github/workflows/dependabot-approve-and-merge.yaml +++ b/.github/workflows/dependabot-approve-and-merge.yaml @@ -16,5 +16,5 @@ 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 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/move-pr-to-done-dependabot.yaml b/.github/workflows/move-pr-to-done-dependabot.yaml index c2d2b66..1eab447 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_GITHUB_ORGANIZATION_PROJECT }} diff --git a/.github/workflows/pylint.yaml b/.github/workflows/pylint.yaml index 38eae63..9a026ce 100644 --- a/.github/workflows/pylint.yaml +++ b/.github/workflows/pylint.yaml @@ -52,6 +52,7 @@ jobs: if: ${{ always() && contains(fromJSON('["failure", "cancelled"]'), needs.pylint.outputs.status ) && github.ref_name == github.event.repository.default_branch }} 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.pylint.outputs.status }} 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 60e8a7f..6b21c6f 100644 --- a/.vscode/cspell.json +++ b/.vscode/cspell.json @@ -21,6 +21,7 @@ "isort", "jquery", "jsmath", + "kernelsam", "kwargs", "mypy", "psutil",