Skip to content

Commit

Permalink
fix: update release-please workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
juancarlosfarah committed Oct 2, 2024
1 parent 218467a commit 57f30dd
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,30 @@
# Automate releases of new app versions
name: release-please

on:
push:
branches:
- main

permissions:
contents: write
pull-requests: write
# needed for the auto-tag
issues: write

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v4
- uses: googleapis/release-please-action@v4
id: release
with:
token: ${{ secrets.RELEASE_PLEASE_PAT }}
release-type: node

- uses: actions/checkout@v4

# put created tag in an env variable to be sent to the dispatch
- name: Set tag
if: ${{ steps.release.outputs.releases_created == 'true' }}
id: set-tag
Expand Down

0 comments on commit 57f30dd

Please sign in to comment.