Skip to content

feat: initial version #19

feat: initial version

feat: initial version #19

Workflow file for this run

name: Bump version

Check failure on line 1 in .github/workflows/bump-version.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/bump-version.yml

Invalid workflow file

(Line: 16, Col: 15): Expected format {org}/{repo}[/path]@ref. Actual 'actions/checkout@@08c6903cd8c0fde910a37f88322edcfb5dd907a8'
on:
workflow_dispatch:
jobs:
bump_version:
if: "!startsWith(github.event.head_commit.message, 'bump:') && github.ref == 'refs/heads/main'"
runs-on: ubuntu-latest
name: "Bump version and create changelog with commitizen"
steps:
- uses: actions/create-github-app-token@67018539274d69449ef7c02e8e71183d1719ab42 # v2.1.4
id: app-token
with:
app-id: ${{ vars.ELEMENTSINTERACTIVE_BOT_APP_ID }}
private-key: ${{ secrets.ELEMENTSINTERACTIVE_BOT_PRIVATE_KEY }}
- uses: actions/checkout@@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
fetch-depth: 0
token: ${{ steps.app-token.outputs.token }}
ref: ${{ github.head_ref }}
# Make sure the value of GITHUB_TOKEN will not be persisted in repo's config
persist-credentials: false
- id: cz
name: Create bump and changelog
uses: commitizen-tools/commitizen-action@5b0848cd060263e24602d1eba03710e056ef7711 # v0.24.0
with:
github_token: ${{ steps.app-token.outputs.token }}
- name: Print Version
run: echo "Bumped to version ${{ steps.cz.outputs.version }}"