Skip to content

Commit 05fb292

Browse files
authored
ci: updates workflows to use release-please for release management (#2610)
1 parent c090060 commit 05fb292

File tree

3 files changed

+25
-41
lines changed

3 files changed

+25
-41
lines changed

.github/workflows/push-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Release latest
55

66
on:
77
push:
8-
branches: [release/latest]
8+
tags: ['v3.*']
99

1010
jobs:
1111
version:
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# 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)
2+
# 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
3+
# release with the mgt-spfx sppkg file
4+
5+
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

.github/workflows/storybook-v3.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)