ci: pin checkout action by SHA, run on all branches

- Pin actions/checkout to commit SHA (v4.2.2) to prevent tag mutation attacks
- Remove branch filters so CI runs on push to all branches, not just main
This commit is contained in:
clawbot 2026-03-02 12:07:00 -08:00
parent a77096326a
commit 51035a2fe2

View File

@ -2,13 +2,11 @@ name: check
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- run: docker build .