pi-ext
bugabingas pi extensions
owned by bugabinga
ci: checkout without actions token
b2c702664f7a727550014258a3ade4ffdebd03a4
Oliver Jan Krylow <oliver@bugabinga.net> ·
unsigned
Browse filesCompare with HEAD
Changed files (1)
.github/workflows/check.yml
Modified12 12 runs-on:
ubuntu-latest 14 - -
uses:
actions/checkout@v6 15 - if:
github.event_name == 'push' 18 - persist-credentials:
false 19 - -
uses:
actions/checkout@v6 20 - if:
github.event_name == 'pull_request_target' 22 - repository:
${{ github.event.pull_request.head.repo.full_name }} 23 - ref:
${{ github.event.pull_request.head.sha }} 25 - persist-credentials:
false 16 + CHECKOUT_REPO:
${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name || github.repository }} 17 + CHECKOUT_REF:
${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.sha || github.sha }} 20 + git remote add origin "https://github.com/${CHECKOUT_REPO}.git" 21 + git fetch --depth=1 origin "$CHECKOUT_REF" 22 + git checkout --detach FETCH_HEAD 26 23 -
name:
Install Bun 28 25 curl -fsSL -o bun.zip https://github.com/oven-sh/bun/releases/download/bun-v1.3.14/bun-linux-x64.zip