Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/python-environment/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ runs:

- name: Set up Poetry (${{ inputs.poetry-version }})
shell: bash
run: |
run: | # zizmor: ignore[github-env] - This shared action is used by many workflows, and downstream steps need `poetry` on PATH; we do not have a safer replacement yet.
POETRY_VERSION="${INPUTS_POETRY_VERSION}" "$PYTHON_BINARY" "${{ github.action_path }}/ext/get_poetry.py"
echo "$HOME/.local/bin" >> $GITHUB_PATH
env:
Expand Down
11 changes: 8 additions & 3 deletions .github/actions/security-issues/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,17 @@ runs:

- name: Create Security Issue Report
shell: bash
env:
Comment thread
ArBridgeman marked this conversation as resolved.
SECURITY_COMMAND: ${{ inputs.command }}
run: |
${{ inputs.command }} | tee input
bash -euo pipefail -c "$SECURITY_COMMAND" | tee input

- name: Convert Report To Common Input Format
shell: bash
env:
SECURITY_FORMAT: ${{ inputs.format }}
run: |
tbx security cve convert ${{inputs.format}} < input | tee cves.jsonl
tbx security cve convert "$SECURITY_FORMAT" < input | tee cves.jsonl

- name: Filter Issues
env:
Expand All @@ -62,9 +66,10 @@ runs:
- name: Create Issues
env:
GH_TOKEN: ${{ inputs.github-token }}
SECURITY_PROJECT: ${{ inputs.project }}
shell: bash
run: |
tbx security cve create --project "${{ inputs.project }}" < issues.jsonl | tee created.jsonl
tbx security cve create --project "$SECURITY_PROJECT" < issues.jsonl | tee created.jsonl

- name: Define Output Parameter
id: get-created-issues
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-and-publish.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .github/workflows/cd.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .github/workflows/check-release-tag.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions .github/workflows/checks.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .github/workflows/ci.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .github/workflows/dependency-update.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .github/workflows/fast-tests.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .github/workflows/gh-pages.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .github/workflows/matrix.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 6 additions & 4 deletions .github/workflows/merge-gate.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .github/workflows/periodic-validation.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .github/workflows/pr-merge.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .github/workflows/report.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 2 additions & 8 deletions .github/zizmor.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
rules:
github-env:
disable: true
secrets-inherit:
disable: true
template-injection:
disable: true
unpinned-uses:
# Official GitHub actions & ones maintained by us may use a referential pin.
# Third party GitHub actions must be defined with an SHA hash.
config:
policies:
"actions/*": ref-pin
exasol/python-toolbox/.github/actions/python-environment: ref-pin
"*": hash-pin
use-trusted-publishing:
disable: true
4 changes: 4 additions & 0 deletions doc/changes/unreleased.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Unreleased

## Summary

## Security

* #867: Fixed zizmor linting results
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
env:
POETRY_HTTP_BASIC_PYPI_USERNAME: "__token__"
POETRY_HTTP_BASIC_PYPI_PASSWORD: "${{ secrets.PYPI_TOKEN }}"
run: poetry publish
run: poetry publish # zizmor: ignore[use-trusted-publishing] - Trusted Publishing is not usable from this reusable workflow yet; see https://github.com/exasol/python-toolbox/issues/871

- name: Publish Release to GitHub
id: publish-release-to-github
Expand Down
4 changes: 3 additions & 1 deletion exasol/toolbox/templates/github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ jobs:
(% if workflow_extension.cd %)
cd-extension:
uses: ./.github/workflows/cd-extension.yml
secrets: inherit
needs:
- check-release-tag
secrets: inherit # zizmor: ignore[secrets-inherit] - PTB cannot customize inherited secrets here yet; tracked in https://github.com/exasol/python-toolbox/issues/872.
permissions:
contents: write
(% endif %)
Expand Down
2 changes: 1 addition & 1 deletion exasol/toolbox/templates/github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
merge-gate:
name: Merge Gate
uses: ./.github/workflows/merge-gate.yml
secrets: inherit
secrets: inherit # zizmor: ignore[secrets-inherit] - PTB cannot customize inherited secrets here yet; tracked in https://github.com/exasol/python-toolbox/issues/872.
permissions:
contents: read

Expand Down
Loading