Skip to content

Commit 706172b

Browse files
authored
Update workflows for build-resources v4 (#166)
1 parent ca74182 commit 706172b

9 files changed

Lines changed: 41 additions & 24 deletions

.github/dependabot.yml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,26 @@
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"
4+
assignees:
5+
- "kernelsam"
6+
cooldown:
7+
default-days: 21
8+
exclude-patterns:
9+
- "senzing-factory/*"
710
directory: "/"
11+
groups:
12+
senzing-factory:
13+
patterns:
14+
- "senzing-factory/*"
815
schedule:
916
interval: "daily"
1017
- package-ecosystem: "pip"
18+
assignees:
19+
- "kernelsam"
20+
cooldown:
21+
default-days: 21
22+
exclude-patterns:
23+
- "senzing-factory/*"
1124
directory: "/"
1225
schedule:
1326
interval: "daily"

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

Lines changed: 4 additions & 3 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 }}
17+
MEMBERS: ${{ secrets.SENZING_MEMBERS }}
1818
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+
SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }}
2526
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-factory-dependabot.yaml

Lines changed: 4 additions & 3 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 }}
14+
PROJECT_RW_TOKEN: ${{ secrets.SENZING_GITHUB_PROJECT_RW_TOKEN }}
1515
uses: senzing-factory/build-resources/.github/workflows/add-to-project-dependabot.yaml@v4
1616
with:
1717
project: ${{ vars.SENZING_PROJECT_FACTORY }}
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+
SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }}
2425
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-factory.yaml

Lines changed: 4 additions & 3 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 }}
16+
PROJECT_RW_TOKEN: ${{ secrets.SENZING_GITHUB_PROJECT_RW_TOKEN }}
1717
uses: senzing-factory/build-resources/.github/workflows/add-to-project.yaml@v4
1818
with:
1919
project-number: ${{ vars.SENZING_PROJECT_FACTORY }}
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+
SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }}
2728
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/dependabot-approve-and-merge.yaml

Lines changed: 1 addition & 1 deletion
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 }}
15+
CODEOWNER_PR_RW_TOKEN: ${{ secrets.SENZING_GITHUB_CODEOWNER_PR_RW_TOKEN }}
1616
uses: senzing-factory/build-resources/.github/workflows/dependabot-approve-and-merge.yaml@v4

.github/workflows/lint-repo.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ jobs:
1313
permissions:
1414
contents: read
1515
packages: read
16-
pull-requests: read
16+
pull-requests: write
1717
statuses: write
18-
uses: senzing-factory/build-resources/.github/workflows/linter.yaml@v3
18+
uses: senzing-factory/build-resources/.github/workflows/linter.yaml@v4

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

Lines changed: 1 addition & 1 deletion
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 }}
15+
PROJECT_RW_TOKEN: ${{ secrets.SENZING_GITHUB_PROJECT_RW_TOKEN }}
1616
uses: senzing-factory/build-resources/.github/workflows/move-pr-to-done-dependabot.yaml@v4
1717
with:
1818
project: ${{ vars.SENZING_PROJECT_FACTORY }}

.github/workflows/spellcheck.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ jobs:
1010
spellcheck:
1111
permissions:
1212
contents: read
13-
uses: senzing-factory/build-resources/.github/workflows/cspell.yaml@v3
13+
uses: senzing-factory/build-resources/.github/workflows/cspell.yaml@v4

.vscode/cspell.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,19 @@
22
"version": "0.2",
33
"language": "en",
44
"words": [
5-
"CCLA",
6-
"CODEOWNER",
7-
"ICLA",
8-
"OSARCH",
9-
"OSTYPE",
10-
"PYTHONPATH",
11-
"Senzing",
125
"alnum",
136
"amazonlinux",
147
"aptdownloader",
158
"arawinters",
169
"barrycaceres",
10+
"CCLA",
11+
"CODEOWNER",
1712
"compressedfile",
1813
"configmgr",
1914
"configtables",
2015
"configtool",
2116
"configurator",
17+
"cooldown",
2218
"createproject",
2319
"dockerfiles",
2420
"dockerhub",
@@ -29,19 +25,24 @@
2925
"gdev",
3026
"htmlcov",
3127
"ibmcom",
28+
"ICLA",
3229
"iniparams",
3330
"isort",
3431
"kernelsam",
3532
"mypy",
3633
"oneline",
34+
"OSARCH",
3735
"osdetect",
36+
"OSTYPE",
3837
"psutil",
3938
"pycache",
4039
"pydev",
4140
"pydoc",
4241
"pylint",
4342
"pytest",
43+
"PYTHONPATH",
4444
"redoer",
45+
"Senzing",
4546
"senzingapi",
4647
"setupconfig",
4748
"signingkey",

0 commit comments

Comments
 (0)