fix: added default messages to allo-allo variables #157
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
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions | |
name: "Semantic Release" | |
on: # yamllint disable-line rule:truthy | |
push: | |
branches: | |
- "([0-9])?(.{+([0-9]),x}).x" | |
- "main" | |
- "next" | |
- "next-major" | |
- "alpha" | |
- "beta" | |
concurrency: "${{ github.workflow }}-${{ github.ref }}" | |
permissions: | |
contents: "read" # for checkout | |
jobs: | |
semantic-release: | |
name: "Semantic Release" | |
runs-on: "ubuntu-latest" | |
permissions: | |
contents: "write" # to be able to publish a GitHub release | |
issues: "write" # to be able to comment on released issues | |
pull-requests: "write" # to be able to comment on released pull requests | |
id-token: "write" # to enable use of OIDC for npm provenance | |
steps: | |
- name: "Harden Runner" | |
uses: "step-security/harden-runner@c95a14d0e5bab51a9f56296a4eb0e416910cd350" # v2.10.3 | |
with: | |
egress-policy: "audit" | |
- name: "Wait for tests to succeed" | |
uses: "lewagon/wait-on-check-action@ccfb013c15c8afb7bf2b7c028fb74dc5a068cccc" # v1.3.4 | |
timeout-minutes: 20 | |
with: | |
ref: "${{ github.event.pull_request.head.sha || github.sha }}" | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
wait-interval: 60 # seconds | |
running-workflow-name: "Semantic Release" # wait for all other checks to complete | |
allowed-conclusions: "success,skipped" # all other checks must pass, being skipped or cancelled is not sufficient | |
- name: "Git checkout" | |
uses: "actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683" # v4.2.2 | |
with: | |
fetch-depth: 0 | |
persist-credentials: false | |
env: | |
GIT_COMMITTER_NAME: "GitHub Actions Shell" | |
GIT_AUTHOR_NAME: "GitHub Actions Shell" | |
EMAIL: "github-actions[bot]@users.noreply.github.com" | |
- name: "Setup resources and environment" | |
id: "setup" | |
uses: "./step/setup" | |
with: | |
node-version: "20.x" | |
cache-prefix: "semantic-release" | |
- name: "Semantic Release" | |
if: "success()" | |
env: | |
GITHUB_TOKEN: "${{ secrets.SEMANTIC_RELEASE_GITHUB_TOKEN }}" | |
NPM_TOKEN: "${{ secrets.NPM_AUTH_TOKEN }}" | |
GIT_AUTHOR_NAME: "github-actions-shell" | |
GIT_AUTHOR_EMAIL: "github-actions[bot]@users.noreply.github.com" | |
GIT_COMMITTER_NAME: "github-actions-shell" | |
GIT_COMMITTER_EMAIL: "github-actions[bot]@users.noreply.github.com" | |
run: "pnpm exec semantic-release" |