tpyo [prerelease] #2551
Workflow file for this run
This file contains 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
# This workflow will ensure all PRs are labeled so we can later create releases | |
name: Prerelease | |
on: | |
- push | |
- workflow_dispatch | |
jobs: | |
prerelease: | |
if: "github.event_name == 'workflow_dispatch' || contains(github.event.head_commit.message, '[prerelease]')" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: ./.github/actions/setup | |
with: | |
npm_token: ${{secrets.npm_token}} | |
- uses: ./.github/actions/git-creds | |
- name: Run prerelease script | |
if: success() | |
run: sh scripts/prerelease.sh | |
env: | |
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
PR_NUMBER: ${{ github.event.number }} |