Skip to content

Commit fc9a79d

Browse files
committed
lint cleanup: zizmor, prettier, yamllint
1 parent d87c996 commit fc9a79d

10 files changed

Lines changed: 9 additions & 8 deletions

.github/linters/.yaml-lint.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
extends: default
33

44
rules:
5+
document-start: disable
6+
comments:
7+
min-spaces-from-content: 1
58
comments-indentation: disable
69
line-length:
710
level: warning

.github/linters/zizmor.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
rules:
2+
secrets-outside-env:
3+
disable: true
24
unpinned-uses:
35
config:
46
policies:

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,3 @@ jobs:
1818
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
1919
SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }}
2020
uses: senzing-factory/build-resources/.github/workflows/add-labels-to-issue.yaml@v4
21-

.github/workflows/add-to-project-g2-python-dependabot.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,3 @@ jobs:
1717
uses: senzing-factory/build-resources/.github/workflows/add-to-project-dependabot.yaml@v4
1818
with:
1919
project: ${{ vars.SENZING_PROJECT_G2_PYTHON }}
20-

.github/workflows/add-to-project-g2-python.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,3 @@ jobs:
2020
with:
2121
project-number: ${{ vars.SENZING_PROJECT_G2_PYTHON }}
2222
org: ${{ vars.SENZING_GITHUB_ACCOUNT_NAME }}
23-

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,3 @@ jobs:
1717
uses: senzing-factory/build-resources/.github/workflows/add-to-project-dependabot.yaml@v4
1818
with:
1919
project: ${{ vars.SENZING_PROJECT_GARAGE }}
20-

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,3 @@ jobs:
2020
with:
2121
project-number: ${{ vars.SENZING_PROJECT_GARAGE }}
2222
org: ${{ vars.SENZING_GITHUB_ACCOUNT_NAME }}
23-

.github/workflows/pylint.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,3 @@ jobs:
4444
run: |
4545
# shellcheck disable=SC2046
4646
pylint $(git ls-files '*.py' ':!:docs/source/*')
47-

.github/workflows/pytest-darwin.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,9 @@ jobs:
7272
with:
7373
client-id: ${{ secrets.SENZINGSDK_STAGING_CLIENT_ID }}
7474
private-key: ${{ secrets.SENZINGSDK_STAGING_APP_KEY }}
75-
owner: senzing-factory
75+
owner: senzing-factory # zizmor: ignore[github-app]
7676
repositories: homebrew-senzingsdk-staging
77+
permission-contents: read
7778

7879
- name: Install Senzing SDK
7980
uses: senzing-factory/github-action-install-senzing-sdk@v5

.github/workflows/pytest-windows.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,9 @@ jobs:
7070
with:
7171
client-id: ${{ secrets.SENZINGSDK_STAGING_CLIENT_ID }}
7272
private-key: ${{ secrets.SENZINGSDK_STAGING_APP_KEY }}
73-
owner: senzing-factory
73+
owner: senzing-factory # zizmor: ignore[github-app]
7474
repositories: scoop-senzingsdk-staging
75+
permission-contents: read
7576

7677
- name: Install Senzing SDK
7778
uses: senzing-factory/github-action-install-senzing-sdk@v5

0 commit comments

Comments
 (0)