release.yml
This file
Path
.github/workflows/release.yml
40 lines · 1.2 KiB · YAML
Last changed by
[actions] `release.yml`: provide `GH_TOKEN` so release-notes PR lookup can runJordan Harbandbefore adoption6798d1d
History of this fileTake it
The walk stopped after 200 commits: lines older than 5c12680 point at it.
[Dev Deps] update `markdown-link-check`Jordan Harbandbefore adoption5c12680
lines 1–19why, one step back1name: 'Tests: release process'23on: [pull_request, push]45permissions:6 contents: read78jobs:9 release:10 runs-on: ubuntu-latest11 steps:12 - name: Harden Runner13 uses: step-security/harden-runner@v214 with:15 allowed-endpoints:16 github.com:44317 api.github.com:44318 objects.githubusercontent.com:44319 raw.githubusercontent.com:443[actions] add new github asset domain to harden-runnerJordan Harbandbefore adoption34ace59
line 20why, one step back20 release-assets.githubusercontent.com:443[Dev Deps] update `markdown-link-check`Jordan Harbandbefore adoption5c12680
line 21why, one step back21 registry.npmjs.org:443[actions] update outdated GitHub Actions versionsPadraic Slatterybefore adoption34d6d5d
line 22why, one step back22 - uses: actions/checkout@v6[Dev Deps] update `markdown-link-check`Jordan Harbandbefore adoption5c12680
lines 23–24why, one step back23 with:24 fetch-tags: true[actions] update outdated GitHub Actions versionsPadraic Slatterybefore adoption34d6d5d
line 25why, one step back25 - uses: actions/setup-node@v6[Dev Deps] update `markdown-link-check`Jordan Harbandbefore adoption5c12680
lines 26–37why, one step back26 with:27 node-version: "14"28 - run: npm install29 - name: Configure git30 run: |31 git config user.name github-actions32 git config user.email github-actions@github.com33 git fetch --unshallow --tags -f || git fetch --tags -f34 - name: Attempt `make release` process35 run: echo proceed | make TAG=99.99.99 release36 env:37 GIT_EDITOR: "sed -i '1 s/^/99.99.99 make release test/'"[actions] `release.yml`: provide `GH_TOKEN` so release-notes PR lookup can runJordan Harbandbefore adoption6798d1d
line 38why, one step back38 GH_TOKEN: ${{ github.token }}[Dev Deps] update `markdown-link-check`Jordan Harbandbefore adoption5c12680
lines 39–40why, one step back39 - name: Ensure tag is created40 run: git tag | grep v99.99.99