DOMPurify 3.4.8 #7
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Sign Release | |
| on: | |
| release: | |
| types: [published] | |
| permissions: | |
| contents: read | |
| jobs: | |
| sign: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write # to attach .sigstore bundles to the release | |
| id-token: write # OIDC for keyless signing | |
| steps: | |
| - uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4 | |
| with: | |
| egress-policy: audit | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| persist-credentials: false | |
| - uses: sigstore/gh-action-sigstore-python@04cffa1d795717b140764e8b640de88853c92acc # v3.0.1 | |
| with: | |
| inputs: dist/purify.min.js dist/purify.js | |
| # Re-uploads signed artefacts to the release that triggered this run. | |
| # Without this flag, .sigstore bundles are generated but dropped at | |
| # job end - the release page gets nothing. | |
| release-signing-artifacts: true |