-
Notifications
You must be signed in to change notification settings - Fork 6
Feat(validation): Add support for Prefix keys #93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ClausHolbechArista
wants to merge
24
commits into
aristanetworks:main
Choose a base branch
from
ClausHolbechArista:prefix-keys
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
e6c1604
Feat(validation): Add support for prefix_keys
ClausHolbechArista 59e2349
improve code readability (i hope)
ClausHolbechArista ca99e0b
CI: pre-commit autoupdate (#138)
pre-commit-ci[bot] a08252c
CI: Enable workspace lint rules on every crate (#135)
gmuloc 442fa13
Feat(rust): Add support for dynamic key overrides (#133)
ClausHolbechArista 697cd3e
CI: pre-commit autoupdate (#141)
pre-commit-ci[bot] 9c5c3aa
CI: Use our own pre-commit hooks repo (#132)
ClausHolbechArista b8fb03e
Bump: Release v0.0.6 (#142)
ClausHolbechArista f045985
Bump(rust): Bump base64 from 0.21.7 to 0.22.1 (#139)
dependabot[bot] 6dfe0b9
Bump(rust): Bump criterion from 0.7.0 to 0.8.2 (#130)
dependabot[bot] d2cf4a5
Bump(rust): Bump pyo3-log from 0.13.2 to 0.13.3 (#129)
dependabot[bot] c3fb775
Bump(rust): Bump serde_with from 3.16.1 to 3.20.0 (#128)
dependabot[bot] 53147bd
CI(requirements): Bump coverage from 7.14.0 to 7.14.1 in the dev grou…
dependabot[bot] e2e5812
CI: add zizmor audit (#140)
gmuloc de482ec
CI: Bump codecov/codecov-action from cddd853df119a48c5be31a973f8cd97e…
dependabot[bot] 7d29c18
Bump(rust): Bump serde_json from 1.0.149 to 1.0.150 (#151)
dependabot[bot] b0115c2
CI: Bump pypa/gh-action-pypi-publish from 6733eb7d741f0b11ec6a39b5854…
dependabot[bot] f4c46a2
CI: Bump eps1lon/actions-label-merge-conflict from 2.1.0 to 3.1.0 (#146)
dependabot[bot] 0264006
Bump(rust): Bump pyo3-build-config from 0.27.2 to 0.28.3 (#150)
dependabot[bot] c0f9851
Bump(rust): Bump des from 0.8.1 to 0.9.0 (#116)
dependabot[bot] 928b6fb
CI: pre-commit autoupdate (#154)
pre-commit-ci[bot] bc2b723
CI: Bump codecov action to v7.0.0 (#155)
gmuloc fc1fc45
refactor: prepare dict module in avdschema
ClausHolbechArista 0b90d72
Feat(rust): Add support for prefix-keys
ClausHolbechArista File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| --- | ||
| name: autofix.ci | ||
|
|
||
| "on": | ||
| pull_request: | ||
| push: | ||
| branches: | ||
| - main | ||
|
|
||
| concurrency: | ||
| group: autofix-${{ github.workflow }}-${{ github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| autofix: | ||
| name: Run pre-commit and commit back any changes | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout the repo | ||
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | ||
| with: | ||
| persist-credentials: false | ||
|
|
||
| - name: Set up Python | ||
| uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 | ||
| with: | ||
| python-version: "3.12" | ||
|
|
||
| # Needed until we move to prek and get proper support for toolchain profile - preferably per hook. | ||
| - name: Install Rust nightly formatter | ||
| run: rustup toolchain install nightly --component rustfmt --no-self-update | ||
|
|
||
| - name: Run pre-commit | ||
| uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1 | ||
| continue-on-error: true | ||
| with: | ||
| extra_args: --all-files | ||
| # Allowing cargo installs to be unoptimized for install speed. | ||
| env: | ||
| CARGO_PROFILE_RELEASE_OPT_LEVEL: 0 | ||
| CARGO_PROFILE_RELEASE_LTO: false | ||
| CARGO_PROFILE_RELEASE_CODEGEN_UNITS: 256 | ||
|
|
||
| - name: Commit back any git diff | ||
| uses: autofix-ci/action@c5b2d67aa2274e7b5a18224e8171550871fc7e4a # v1.3.4 | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Grant write permission for autofix commits.
Line 14-15 sets
contents: read, but Line 47-48 attempts to push fixes viaautofix-ci/action. With read-only contents, the commit-back step cannot write.Suggested fix
📝 Committable suggestion
🤖 Prompt for AI Agents