Skip to content

Commit

Permalink
ci: updates workflows to use release-please for release management
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinbarron committed Jul 17, 2023
1 parent c090060 commit a5cc2e9
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 41 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/push-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: Release latest

on:
push:
branches: [release/latest]
tags: ['v3.*']

jobs:
version:
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/run-release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# 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)
# 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
# release with the mgt-spfx sppkg file

on:
push:
branches:
- main

permissions:
contents: write
pull-requests: write

name: Run Release Please
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v2
id: release
with:
command: manifest
token: ${{secrets.GITHUB_TOKEN}}
default-branch: main
40 changes: 0 additions & 40 deletions .github/workflows/storybook-v3.yml

This file was deleted.

0 comments on commit a5cc2e9

Please sign in to comment.