Skip to content

ci(github-actions): use create-github-app-token to generate semantic … #168

ci(github-actions): use create-github-app-token to generate semantic …

ci(github-actions): use create-github-app-token to generate semantic … #168

Workflow file for this run

name: Release
on:
workflow_dispatch:
push:
branches:
- main
permissions: read-all
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Create GitHub App Token
id: app-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
- name: Checkout repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
token: ${{ steps.app-token.outputs.token }}
- name: Semantic Release
uses: cycjimmy/semantic-release-action@cb425203a562475bca039ba4dbf90c7f9ac790f4 # v4.1.0
env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
with:
semantic_version: 24.1.1
extra_plugins: |
- [email protected]