security: remove workflow_dispatch from publish workflow (#3583) #168
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: Release | ||
| on: | ||
| push: | ||
| tags: | ||
| - "v*.*.*" | ||
| permissions: | ||
| contents: write # Required to create GitHub releases | ||
| jobs: | ||
| build: | ||
| uses: ./.github/workflows/build.yaml | ||
| package: | ||
| needs: | ||
| - build | ||
| uses: ./.github/workflows/package.yaml | ||
| archive: | ||
| needs: | ||
| - build | ||
| uses: ./.github/workflows/archive.yaml | ||
| upload: | ||
|
Check failure on line 19 in .github/workflows/release.yaml
|
||
| needs: | ||
| - archive | ||
| - package | ||
| uses: ./.github/workflows/upload.yaml | ||
| secrets: inherit | ||
| release: | ||
| runs-on: ubuntu-latest | ||
| needs: | ||
| - archive | ||
| - package | ||
| steps: | ||
| - uses: actions/checkout@v6 | ||
| with: | ||
| fetch-depth: 0 | ||
| - uses: extractions/setup-just@v3 | ||
| - uses: actions/download-artifact@v7 | ||
| with: | ||
| name: archives | ||
| path: archives | ||
| - uses: actions/download-artifact@v7 | ||
| with: | ||
| name: dist | ||
| path: dist | ||
| - id: get-prerelease | ||
| run: echo "prerelease=$(just pre-release)" >> "$GITHUB_OUTPUT" | ||
| - uses: softprops/action-gh-release@v2 | ||
| with: | ||
| draft: false | ||
| prerelease: ${{ steps.get-prerelease.outputs.prerelease == 'true' }} | ||
| files: | | ||
| archives/**/* | ||
| dist/**/* | ||