Skip to content

Commit 9d1ca2c

Browse files
committed
standardize workflows for build-resources v4
1 parent 0787fae commit 9d1ca2c

13 files changed

+39
-34
lines changed

.github/dependabot.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,25 @@
1-
# Please see the documentation for all configuration options:
2-
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
3-
41
version: 2
52
updates:
63
- package-ecosystem: "github-actions"
74
assignees:
8-
- kernelsam
5+
- "kernelsam"
96
cooldown:
107
default-days: 21
8+
exclude:
9+
- "senzing-factory/*"
1110
directory: "/"
11+
groups:
12+
senzing-factory:
13+
patterns:
14+
- "senzing-factory/*"
1215
schedule:
1316
interval: "daily"
1417
- package-ecosystem: "pip"
1518
assignees:
16-
- docktermj
19+
- "docktermj"
1720
cooldown:
1821
default-days: 21
1922
directory: "/"
2023
schedule:
2124
interval: "daily"
25+

.github/workflows/add-labels-standardized.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,15 @@ jobs:
1414
issues: write
1515
secrets:
1616
ORG_MEMBERSHIP_TOKEN: ${{ secrets.ORG_MEMBERSHIP_TOKEN }}
17-
SENZING_MEMBERS: ${{ secrets.SENZING_MEMBERS }}
18-
uses: senzing-factory/build-resources/.github/workflows/add-labels-to-issue.yaml@v3
17+
MEMBERS: ${{ secrets.SENZING_MEMBERS }}
18+
uses: senzing-factory/build-resources/.github/workflows/add-labels-to-issue.yaml@v4
1919

2020
slack-notification:
2121
needs: [add-issue-labels]
22-
if: ${{ always() && contains(fromJSON('["failure", "cancelled"]'), needs.add-issue-labels.outputs.job-status) }}
22+
if: ${{ always() && contains(fromJSON('["failure", "cancelled"]'), needs.add-issue-labels.result) }}
2323
secrets:
2424
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
25-
uses: senzing-factory/build-resources/.github/workflows/build-failure-slack-notification.yaml@v3
25+
SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }}
26+
uses: senzing-factory/build-resources/.github/workflows/build-failure-slack-notification.yaml@v4
2627
with:
27-
job-status: ${{ needs.add-issue-labels.outputs.job-status }}
28+
job-status: ${{ needs.add-issue-labels.result }}

.github/workflows/add-to-project-garage-dependabot.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,17 @@ jobs:
1111
permissions:
1212
repository-projects: write
1313
secrets:
14-
SENZING_GITHUB_PROJECT_RW_TOKEN: ${{ secrets.SENZING_GITHUB_PROJECT_RW_TOKEN }}
15-
uses: senzing-factory/build-resources/.github/workflows/add-to-project-dependabot.yaml@v3
14+
PROJECT_RW_TOKEN: ${{ secrets.SENZING_GITHUB_PROJECT_RW_TOKEN }}
15+
uses: senzing-factory/build-resources/.github/workflows/add-to-project-dependabot.yaml@v4
1616
with:
1717
project: ${{ vars.SENZING_PROJECT_GARAGE }}
1818

1919
slack-notification:
2020
needs: [add-to-project-dependabot]
21-
if: ${{ always() && contains(fromJSON('["failure", "cancelled"]'), needs.add-to-project-dependabot.outputs.job-status) }}
21+
if: ${{ always() && contains(fromJSON('["failure", "cancelled"]'), needs.add-to-project-dependabot.result) }}
2222
secrets:
2323
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
24-
uses: senzing-factory/build-resources/.github/workflows/build-failure-slack-notification.yaml@v3
24+
SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }}
25+
uses: senzing-factory/build-resources/.github/workflows/build-failure-slack-notification.yaml@v4
2526
with:
26-
job-status: ${{ needs.add-to-project-dependabot.outputs.job-status }}
27+
job-status: ${{ needs.add-to-project-dependabot.result }}

.github/workflows/add-to-project-garage.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,18 @@ jobs:
1313
permissions:
1414
repository-projects: write
1515
secrets:
16-
SENZING_GITHUB_PROJECT_RW_TOKEN: ${{ secrets.SENZING_GITHUB_PROJECT_RW_TOKEN }}
17-
uses: senzing-factory/build-resources/.github/workflows/add-to-project.yaml@v3
16+
PROJECT_RW_TOKEN: ${{ secrets.SENZING_GITHUB_PROJECT_RW_TOKEN }}
17+
uses: senzing-factory/build-resources/.github/workflows/add-to-project.yaml@v4
1818
with:
1919
project-number: ${{ vars.SENZING_PROJECT_GARAGE }}
2020
org: ${{ vars.SENZING_GITHUB_ACCOUNT_NAME }}
2121

2222
slack-notification:
2323
needs: [add-to-project]
24-
if: ${{ always() && contains(fromJSON('["failure", "cancelled"]'), needs.add-to-project.outputs.job-status) }}
24+
if: ${{ always() && contains(fromJSON('["failure", "cancelled"]'), needs.add-to-project.result) }}
2525
secrets:
2626
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
27-
uses: senzing-factory/build-resources/.github/workflows/build-failure-slack-notification.yaml@v3
27+
SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }}
28+
uses: senzing-factory/build-resources/.github/workflows/build-failure-slack-notification.yaml@v4
2829
with:
29-
job-status: ${{ needs.add-to-project.outputs.job-status }}
30+
job-status: ${{ needs.add-to-project.result }}

.github/workflows/claude-pr-review.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ permissions: {}
1212

1313
jobs:
1414
review:
15-
uses: senzing-factory/build-resources/.github/workflows/claude-pull-request-review.yaml@v3
15+
uses: senzing-factory/build-resources/.github/workflows/claude-pull-request-review.yaml@v4
1616
permissions:
1717
contents: read
1818
pull-requests: write

.github/workflows/dependabot-approve-and-merge.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ jobs:
1212
contents: write
1313
pull-requests: write
1414
secrets:
15-
SENZING_GITHUB_CODEOWNER_PR_RW_TOKEN: ${{ secrets.SENZING_GITHUB_CODEOWNER_PR_RW_TOKEN }}
16-
uses: senzing-factory/build-resources/.github/workflows/dependabot-approve-and-merge.yaml@v3
15+
CODEOWNER_PR_RW_TOKEN: ${{ secrets.SENZING_GITHUB_CODEOWNER_PR_RW_TOKEN }}
16+
uses: senzing-factory/build-resources/.github/workflows/dependabot-approve-and-merge.yaml@v4

.github/workflows/link-issues-to-pr-post-merge.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ jobs:
1313
permissions:
1414
pull-requests: write
1515
contents: read
16-
uses: senzing-factory/build-resources/.github/workflows/link-issues-to-pull-request-post-merge.yaml@v3
16+
uses: senzing-factory/build-resources/.github/workflows/link-issues-to-pull-request-post-merge.yaml@v4

.github/workflows/lint-workflows.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ jobs:
1515
packages: read
1616
pull-requests: read
1717
statuses: write
18-
uses: senzing-factory/build-resources/.github/workflows/lint-workflows.yaml@v3
18+
uses: senzing-factory/build-resources/.github/workflows/lint-workflows.yaml@v4

.github/workflows/move-pr-to-done-dependabot.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
permissions:
1313
repository-projects: write
1414
secrets:
15-
SENZING_GITHUB_PROJECT_RW_TOKEN: ${{ secrets.SENZING_GITHUB_PROJECT_RW_TOKEN }}
16-
uses: senzing-factory/build-resources/.github/workflows/move-pr-to-done-dependabot.yaml@v3
15+
PROJECT_RW_TOKEN: ${{ secrets.SENZING_GITHUB_PROJECT_RW_TOKEN }}
16+
uses: senzing-factory/build-resources/.github/workflows/move-pr-to-done-dependabot.yaml@v4
1717
with:
1818
project: ${{ vars.SENZING_PROJECT_GARAGE }}

.github/workflows/pylint.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
if: ${{ always() && contains(fromJSON('["failure", "cancelled"]'), needs.pylint.outputs.status ) && github.ref_name == github.event.repository.default_branch }}
4141
secrets:
4242
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
43-
uses: senzing-factory/build-resources/.github/workflows/build-failure-slack-notification.yaml@v3
43+
SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }}
44+
uses: senzing-factory/build-resources/.github/workflows/build-failure-slack-notification.yaml@v4
4445
with:
4546
job-status: ${{ needs.pylint.outputs.status }}

0 commit comments

Comments
 (0)