Skip to content

Commit 504365e

Browse files
authored
Merge branch 'main' into rm-hooks
2 parents d00d50f + b200cc3 commit 504365e

18 files changed

Lines changed: 303 additions & 473 deletions

File tree

.github/CODE_OF_CONDUCT.md

Lines changed: 0 additions & 110 deletions
This file was deleted.

.github/actions/bootstrap/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ runs:
3131
python-version: ${{ inputs.python-version }}
3232

3333
- name: Install Task
34-
uses: arduino/setup-task@v2
34+
uses: go-task/setup-task@v1
3535
with:
3636
# Passing a repo token reduces the likelihood of API rate limit exceeded
3737
repo-token: ${{ inputs.token }}

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
runs-on: ubuntu-24.04
2828
steps:
2929
- name: Checkout the repository
30-
uses: actions/checkout@v5
30+
uses: actions/checkout@v6
3131
with:
3232
persist-credentials: 'false'
3333
- name: Bootstrap repository
@@ -44,14 +44,14 @@ jobs:
4444
contents: write
4545
steps:
4646
- name: Checkout the repository
47-
uses: actions/checkout@v5
47+
uses: actions/checkout@v6
4848
# Necessary for hooks to succeed during tests for commits/schedule
4949
if: github.event_name != 'pull_request'
5050
with:
5151
fetch-depth: 0
5252
persist-credentials: 'false'
5353
- name: Checkout the repository
54-
uses: actions/checkout@v5
54+
uses: actions/checkout@v6
5555
# Necessary for hooks to succeed during tests for PRs
5656
if: github.event_name == 'pull_request'
5757
with:
@@ -80,7 +80,7 @@ jobs:
8080
- name: Run SBOM generation
8181
run: task -v sbom
8282
- name: Upload SBOM artifacts
83-
uses: actions/upload-artifact@v4
83+
uses: actions/upload-artifact@v5
8484
with:
8585
name: sbom-files
8686
path: |
@@ -89,15 +89,15 @@ jobs:
8989
- name: Check license compliance
9090
run: task -v license-check
9191
- name: Upload license check results
92-
uses: actions/upload-artifact@v4
92+
uses: actions/upload-artifact@v5
9393
with:
9494
name: license-check-results
9595
path: license-check.json
9696
if-no-files-found: error
9797
- name: Run vulnerability scan
9898
run: task -v vulnscan
9999
- name: Upload vulnerability scan results
100-
uses: actions/upload-artifact@v4
100+
uses: actions/upload-artifact@v5
101101
with:
102102
name: vuln-scan-results
103103
path: vulns.json
@@ -121,7 +121,7 @@ jobs:
121121
exit 1
122122
fi
123123
- name: Checkout the repository
124-
uses: actions/checkout@v5
124+
uses: actions/checkout@v6
125125
- name: Scan workflow logs for warnings and errors
126126
run: scripts/scan_workflow_logs.sh ${{ github.run_id }}
127127
env:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
tag: ${{ steps.release.outputs.tag }}
2222
steps:
2323
- name: Checkout the repository
24-
uses: actions/checkout@v5
24+
uses: actions/checkout@v6
2525
with:
2626
fetch-depth: 0
2727
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/security.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

.github/workflows/update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
pull-requests: write
2323
steps:
2424
- name: Checkout the repository
25-
uses: actions/checkout@v5
25+
uses: actions/checkout@v6
2626
with:
2727
persist-credentials: 'false'
2828
- name: Bootstrap repository

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
exclude: '^{{cookiecutter\.project_name\|replace\(" ", ""\)}}/.*'
33
repos:
44
- repo: https://github.com/astral-sh/ruff-pre-commit
5-
rev: f298305809c552671cc47e0fec0ba43e96c146a2 # frozen: v0.13.2
5+
rev: 3db93a2be6f214ed722bf7bce095ec1b1715422a # frozen: v0.14.2
66
hooks:
77
- id: ruff-check
88
types_or: [ python, pyi, jupyter ]
@@ -31,7 +31,7 @@ repos:
3131
args: ["--config", ".github/linters/lychee.toml"]
3232
types: [markdown]
3333
- repo: https://github.com/rhysd/actionlint
34-
rev: 03d0035246f3e81f36aed592ffb4bebf33a03106 # frozen: v1.7.7
34+
rev: e7d448ef7507c20fc4c88a95d0c448b848cd6127 # frozen: v1.7.8
3535
hooks:
3636
- id: actionlint-docker
3737
- repo: https://github.com/koalaman/shellcheck-precommit
@@ -40,7 +40,7 @@ repos:
4040
- id: shellcheck
4141
args: [ -x, --source-path=SCRIPTDIR ]
4242
- repo: https://github.com/trufflesecurity/trufflehog
43-
rev: 466da5b0bb161144f6afca9afe5d57975828c410 # frozen: v3.90.8
43+
rev: ad6fc8fb446b8fafbf7ea8193d2d6bfd42f45690 # frozen: v3.90.11
4444
hooks:
4545
- id: trufflehog
4646
# Check the past 2 commits; it's useful to make this go further back than main when running this where main and HEAD are equal

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Contributing
22

33
To contribute to this project, please consider starting by [opening an issue](https://github.com/Zenable-io/ai-native-python/issues/new) to discuss the feature
4-
and its design, and reviewing our Contributors Code of Conduct [here](./.github/CODE_OF_CONDUCT.md).
4+
and its design.
55

66
Once you are ready to submit your contribution, please fork the repository and open a pull request with your changes.
77

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ For more details, see our [documentation](docs/index.md).
2929

3030
```bash
3131
# Install the prerequisites
32-
brew install uv
32+
brew install uv go-task
3333

3434
# Initialize your project
3535
uvx --with gitpython cookiecutter gh:zenable-io/ai-native-python

0 commit comments

Comments
 (0)