Skip to content

Commit

Permalink
fix(workflow): added release-please
Browse files Browse the repository at this point in the history
  • Loading branch information
Sinrefvol committed May 23, 2024
1 parent ec20cdc commit 93daa08
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
on:
push:
branches:
- main

permissions:
contents: write
pull-requests: write

name: Release please

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- name: Generate a token
id: generate-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ vars.PEPM_CI_APP_ID }}
private-key: ${{ secrets.PEPM_CI_APP_SECRET }}

- uses: googleapis/release-please-action@v4
with:
# this assumes that you have created a personal access token
# (PAT) and configured it as a GitHub action secret named
# `MY_RELEASE_PLEASE_TOKEN` (this secret name is not important).
token: ${{ steps.generate-token.outputs.token }}
# this is a built-in strategy in release-please, see "Action Inputs"
# for more options
release-type: node

0 comments on commit 93daa08

Please sign in to comment.