Skip to content

Commit 8699ddd

Browse files
committed
lint cleanup: zizmor, prettier, yamllint
1 parent dd595e8 commit 8699ddd

12 files changed

Lines changed: 9 additions & 12 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-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/build-distribution.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,3 @@ jobs:
5858
job-status: ${{ job.status }}
5959
slack-channel: ${{ secrets.SLACK_CHANNEL }}
6060
slack-bot-token: ${{ secrets.SLACK_BOT_TOKEN }}
61-

.github/workflows/create-sphinx-documentation.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,3 @@ jobs:
5555
job-status: ${{ job.status }}
5656
slack-channel: ${{ secrets.SLACK_CHANNEL }}
5757
slack-bot-token: ${{ secrets.SLACK_BOT_TOKEN }}
58-

.github/workflows/publish-to-pypi.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,3 @@ jobs:
104104
# `dist/` contains the built packages, and the
105105
# sigstore-produced signatures and certificates.
106106
run: gh release upload "${GITHUB_REF_NAME}" dist/** --repo "${{ github.repository }}"
107-

.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 & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,9 @@ jobs:
8080
with:
8181
client-id: ${{ secrets.SENZINGSDK_STAGING_CLIENT_ID }}
8282
private-key: ${{ secrets.SENZINGSDK_STAGING_APP_KEY }}
83-
owner: senzing-factory
83+
owner: senzing-factory # zizmor: ignore[github-app]
8484
repositories: homebrew-senzingsdk-staging
85+
permission-contents: read
8586

8687
- name: Install Senzing SDK
8788
uses: senzing-factory/github-action-install-senzing-sdk@v5
@@ -133,4 +134,3 @@ jobs:
133134
pull-requests: write
134135
contents: write
135136
uses: senzing-factory/build-resources/.github/workflows/python-coverage-comment.yaml@v4
136-

0 commit comments

Comments
 (0)