Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
27c8de8
Add cooldown to dependency updater
ArBridgeman Jun 11, 2026
7f6d4d9
Create ignore file and fill with everything so we can gradually remov…
ArBridgeman Jun 11, 2026
1df7291
Fix credential persistence from actions/checkout
ArBridgeman Jun 11, 2026
a0974e4
Switch checkout@v6 to the v6.0.3 SHA; even in documentation
ArBridgeman Jun 11, 2026
b128c6a
Switch upload-pages-artifact@v5 to the v5.0.0 SHA
ArBridgeman Jun 11, 2026
8ea6221
Switch ravsamhq/notify-slack-action action from v2 to its SHA for v2.5.0
ArBridgeman Jun 11, 2026
a526b82
Switch actions/upload-artifact action from v7.0.0 to its SHA
ArBridgeman Jun 11, 2026
1e998f1
Switch actions/setup-python action from v6 to its v6.2.0 SHA
ArBridgeman Jun 11, 2026
e38283c
Switch actions/download-artifact action from v8 to its v8.0.1 SHA
ArBridgeman Jun 11, 2026
c7e46e5
Switch actions/deploy-pages action from v5 to its v5.0.0 SHA
ArBridgeman Jun 11, 2026
a013612
Add zizmor as a dependency
ArBridgeman Jun 11, 2026
693e0c5
Switch actions/cache action from v5 to its v5.0.5 SHA
ArBridgeman Jun 11, 2026
392b4d9
Make it the default that all except the PTB ones use hashes
ArBridgeman Jun 11, 2026
e3bdd9e
Fix overrides
ArBridgeman Jun 11, 2026
992d65c
Fix as not with v
ArBridgeman Jun 11, 2026
c6f9573
Add changelog entry
ArBridgeman Jun 11, 2026
f45cd60
Fix tests
ArBridgeman Jun 11, 2026
6573e8d
Merge branch 'main' into feature/864_fix_linting_part_1_persistent_cr…
ArBridgeman Jun 11, 2026
c047600
Allow actions/ to use a ref-pin
ArBridgeman Jun 11, 2026
9b4119c
Revert SHA needed for actions from GitHub actions
ArBridgeman Jun 11, 2026
6b1b644
Add linting job for PTB only
ArBridgeman Jun 11, 2026
5dc9090
Improve description instead of using keyword from GitHub checkout action
ArBridgeman Jun 11, 2026
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
6 changes: 5 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,15 @@ updates:
interval: "weekly"
day: "monday"
open-pull-requests-limit: 4
cooldown:
default-days: 7

# Maintain dependencies for poetry
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
open-pull-requests-limit: 4
open-pull-requests-limit: 4
cooldown:
default-days: 7
2 changes: 1 addition & 1 deletion .github/workflows/dependency-update.yml

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

20 changes: 20 additions & 0 deletions .github/workflows/fast-tests-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
- name: Check out Repository
id: check-out-repository
uses: actions/checkout@v6
with:
persist-credentials: false

- name: Set up Python & Poetry Environment
id: set-up-python-and-poetry-environment
Expand All @@ -24,3 +26,21 @@ jobs:
- name: Lint Imports
id: lint-imports
run: poetry run -- nox -s lint:import

# This will be moved to a standard check in the checks.yml in:
# https://github.com/exasol/python-toolbox/issues/811
lint-github-actions:
name: Lint GitHub Actions
runs-on: ubuntu-24.04
steps:
- name: Check out Repository
id: check-out-repository
uses: actions/checkout@v6
with:
persist-credentials: false

- name: Lint GitHub actions with Zizmor
id: lint-github-actions
uses: zizmorcore/zizmor-action@b1d7e1fb5de872772f31590499237e7cce841e8e # v0.5.3
with:
advanced-security: false
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml

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

2 changes: 2 additions & 0 deletions .github/workflows/slow-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
- name: Check out Repository
id: check-out-repository
uses: actions/checkout@v6
with:
persist-credentials: false

- name: Set up Python & Poetry Environment
id: set-up-python-and-poetry-environment
Expand Down
15 changes: 15 additions & 0 deletions .github/zizmor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
rules:
github-env:
disable: true
secrets-inherit:
disable: true
template-injection:
disable: true
unpinned-uses:
config:
policies:
"actions/*": ref-pin
exasol/python-toolbox/.github/actions/python-environment: ref-pin
"*": hash-pin
use-trusted-publishing:
disable: true
1 change: 1 addition & 0 deletions doc/changes/unreleased.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
## Feature

* #730: Added support to extend GitHub workflow `cd.yml`
* #864: Modified PTB workflow templates to not persist credentials and to use pinned SHAs
4 changes: 4 additions & 0 deletions exasol/toolbox/templates/github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ updates:
interval: "weekly"
day: "monday"
open-pull-requests-limit: 4
cooldown:
default-days: 7

# Maintain dependencies for poetry
- package-ecosystem: "pip"
Expand All @@ -16,3 +18,5 @@ updates:
interval: "weekly"
day: "monday"
open-pull-requests-limit: 4
cooldown:
default-days: 7
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ jobs:
- name: Report New Pull Request to Slack Channel
id: report-pr-slack
if: ${{ steps.create-pr.outputs.pr_url }}
uses: ravsamhq/notify-slack-action@v2
uses: ravsamhq/notify-slack-action@be814b201e233b2dc673608aa46e5447c8ab13f2 # 2.5.0
with:
status: '${{ job.status }}'
token: '${{ secrets.GITHUB_TOKEN }}'
Expand Down
2 changes: 1 addition & 1 deletion exasol/toolbox/templates/github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Upload Artifact
id: upload-artifact
uses: actions/upload-pages-artifact@v5.0.0
uses: actions/upload-pages-artifact@v5
with:
path: html-documentation

Expand Down
27 changes: 24 additions & 3 deletions poetry.lock

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

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ dependencies = [
"structlog (>=25.5.0,<26.0.0)",
"typer[all]>=0.7.0",
"twine>=6.1.0,<7",
"zizmor (>=1.25.2,<2.0.0)",
]

[project.scripts]
Expand Down