mirror of
https://github.com/storytold/egui.git
synced 2026-11-20 09:33:00 +01:00
Mutable action tags are a supply-chain risk: a moved tag runs different code without a diff. Every workflow action is now pinned through .github/workflows/actions.lock, and CI verifies the lockfile so an out-of-sync or tampered one fails instead of running.
22 lines
555 B
YAML
22 lines
555 B
YAML
name: Typos
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
typos:
|
|
# https://github.com/crate-ci/typos
|
|
# Add exceptions to .typos.toml
|
|
# install and run locally: cargo install typos-cli && typos
|
|
name: typos
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 10
|
|
steps:
|
|
- name: Harden runner
|
|
uses: step-security/harden-runner@v2.22.4
|
|
with:
|
|
egress-policy: audit
|
|
- name: Checkout Actions Repository
|
|
uses: actions/checkout@v4.4.0
|
|
|
|
- name: Check spelling of entire workspace
|
|
uses: crate-ci/typos@v1.38.0
|