Skip to content

Commit

Permalink
ci: fix release-please config (#139)
Browse files Browse the repository at this point in the history
* ci: fix bootstrap release please

* ci: fix bootstrap

* ci: add target branch to release please

* ci: release please auth

* ci: release-please config avoid component in tag
  • Loading branch information
filo87 authored May 1, 2024
1 parent 266e18d commit 337889a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ on:
#- release-*
workflow_dispatch:

permissions:
contents: read
issues: write

jobs:
subql_deploy_staging:
if: ${{ github.ref_name == 'development' }}
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ on:
push:
branches:
- main
- development

permissions:
contents: write
Expand All @@ -16,7 +15,9 @@ jobs:
steps:
- uses: google-github-actions/release-please-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
release-type: node
target-branch: main
config-file: release-please-config.json
manifest-file: .release-please-manifest.json

1 change: 1 addition & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"bootstrap-sha": "674aca57b8685f27d0d76255b054346e3cc40327",
"include-component-in-tag": false,
"packages": {
".": {
"changelog-path": "CHANGELOG.md",
Expand Down

0 comments on commit 337889a

Please sign in to comment.