ci: harden workflows and update Node.js (#686)

This commit is contained in:
Shohei Ueda
2026-05-10 18:21:41 +09:00
committed by GitHub
parent fd1a667089
commit 64e0f66acb
14 changed files with 97 additions and 70 deletions
@@ -6,11 +6,12 @@ on:
jobs:
purge:
runs-on: ubuntu-22.04
runs-on: ubuntu-slim
timeout-minutes: 5
permissions: {}
steps:
- run: >
curl -sL https://github.com/${GITHUB_REPOSITORY} |
grep -oE '<img src="https?://camo.githubusercontent.com/[^"]+' |
sed -e 's/<img src="//' |
xargs -I % curl -sX PURGE %
- run: |
curl -sL "https://github.com/${GITHUB_REPOSITORY}" |
grep -oE '<img src="https?://camo.githubusercontent.com/[^"]+' |
sed -e 's/<img src="//' |
xargs -r -I % curl -sX PURGE %