Release v0.3.2 (Patch) #25
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
name: Create or prepare GitHub release | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- 'RELEASE' | |
pull_request: | |
types: [opened, synchronize] | |
branches: | |
- master | |
paths: | |
- 'RELEASE' | |
jobs: | |
gh-release: | |
name: GitHub release | |
if: github.repository == 'eclipse-cdt-cloud/timeline-chart' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: pipe-cd/[email protected] | |
with: | |
release_file: 'RELEASE' | |
# Actions that run using the auto-generated GitHub token are | |
# not allowed to trigger a new workflow run. In this case we want | |
# the tag created by actions-gh-release to re-trigger the main workflow | |
# and result in publishing the package to npm. | |
# The following scopes are required when creating the committer token: | |
# - repo:status, repo_deployment, public_repo, read:org | |
# See here for more details: | |
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow | |
token: ${{ secrets.GH_COMMITTER_TOKEN }} | |