Skip to content

Commit 362c3f7

Browse files
authored
ci(publish): fix release workflow given the new config already set (#25)
1 parent 22d74af commit 362c3f7

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/publish.yaml renamed to .github/workflows/publish-release.yaml

+8-6
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
1+
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
2+
name: 🚀 Publish Release
13
on:
24
push:
35
branches:
46
- 'main'
5-
permissions:
6-
# Needed by googleapis/release-please-action@v4
7-
contents: write
8-
pull-requests: write
97
jobs:
108
publish:
9+
permissions:
10+
# Needed by googleapis/release-please-action@v4
11+
contents: write
12+
pull-requests: write
1113
runs-on: ubuntu-latest
1214
steps:
13-
- name: 🍄 Bump package version, create GitHub release and changelog
15+
- name: 🍄 Bump package version, create GitHub release, and update changelog
1416
uses: googleapis/release-please-action@v4
1517
id: release
1618
with:
17-
release-type: node
19+
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
1820
- uses: actions/checkout@v4
1921
if: ${{ steps.release.outputs.release_created }}
2022
- uses: actions/setup-node@v4

0 commit comments

Comments
 (0)