Skip to content

Commit 917d30c

Browse files
authored
Update run-release-please.yml
1 parent ffe201d commit 917d30c

File tree

1 file changed

+18
-20
lines changed

1 file changed

+18
-20
lines changed
Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,22 @@
11
# when the main branch is updated this workflow will run and create or update a combined [release PR](https://github.com/googleapis/release-please#whats-a-release-pr)
22
# upon approval of the release PR as it adds a v3.x tag the [push-release.yml](./push-release.yml) workflow will run, push the release to npm and update the GitHub
33
# release with the mgt-spfx sppkg file
4-
54
on:
6-
push:
7-
branches:
8-
- main
9-
10-
permissions:
11-
contents: write
12-
pull-requests: write
13-
14-
name: Run Release Please
15-
jobs:
16-
release-please:
17-
runs-on: ubuntu-latest
18-
steps:
19-
- uses: google-github-actions/release-please-action@v2
20-
id: release
21-
with:
22-
command: manifest
23-
token: ${{secrets.GITHUB_TOKEN}}
24-
default-branch: main
5+
push:
6+
branches:
7+
- main
8+
permissions:
9+
contents: write
10+
pull-requests: write
11+
12+
name: Run Release Please
13+
jobs:
14+
release-please:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: google-github-actions/release-please-action@v2
18+
id: release
19+
with:
20+
command: manifest
21+
token: ${{secrets.GITHUB_TOKEN}}
22+
default-branch: main

0 commit comments

Comments
 (0)