1
0
Fork 0
mirror of synced 2026-06-05 12:38:19 +00:00
harden-runner/.github/workflows/publish-immutable-actions.yml
2025-02-15 12:11:05 -08:00

28 lines
No EOL
603 B
YAML

name: 'Publish Immutable Action Version'
on:
release:
types: [published]
permissions:
contents: read
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
packages: write
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e # v2.10.4
with:
egress-policy: audit
- name: Checking out
uses: actions/checkout@v4
- name: Publish
id: publish
uses: actions/publish-immutable-action@0.0.4