sec(ci): Backport security changes to <= 42 (#11586) (#11587)

(cherry picked from commit f4d9497805)

Signed-off-by: GildedRoach <GildedRoach@users.noreply.github.com>
This commit is contained in:
Gilver
2026-04-21 13:18:22 -05:00
committed by GitHub
parent 0eedbc4c59
commit d4e55ca086
10 changed files with 50 additions and 21 deletions
+5 -3
View File
@@ -1,6 +1,6 @@
name: Update
permissions:
contents: write
contents: read
on:
schedule:
- cron: "*/10 * * * *"
@@ -8,13 +8,15 @@ on:
jobs:
autoupdate:
runs-on: ubuntu-latest
permissions:
contents: write
runs-on: ubuntu-22.04
container:
image: ghcr.io/terrapkg/builder:frawhide
options: --cap-add=SYS_ADMIN --privileged
steps:
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
ssh-key: ${{ secrets.SSH_AUTHENTICATION_KEY }}