Skip to content
Closed
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
16 changes: 16 additions & 0 deletions .github/workflows/CiWorkflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ jobs:
steps:
- name: ✅ Checkout Repository ✅
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: true

- name: 🛠️ Download Rust Tools 🛠️
uses: OpenDevicePartnership/patina/.github/actions/rust-tool-cache@main
Expand Down Expand Up @@ -94,6 +97,19 @@ jobs:
- name: Run cargo-vet
run: cargo make vet

- name: Commit generated supply-chain files
if: github.actor != 'github-actions[bot]' && runner.os == 'Linux'
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add -A supply-chain || true
if ! git diff --cached --quiet; then
git commit -m "ci: update generated supply-chain files [skip ci]"
git push origin HEAD:${{ github.ref_name }}
else
echo "No generated supply-chain changes to commit."
fi

- name: Run cargo-fmt
run: cargo fmt --all --check
env:
Expand Down