mirror of
https://github.com/ublue-os/forge.git
synced 2025-07-05 17:25:46 +03:00
ci: workflows for conventional commit and release-please
This commit is contained in:
parent
0714214247
commit
be498403a8
3 changed files with 51 additions and 0 deletions
15
.github/workflows/conventional-commits.yml
vendored
Normal file
15
.github/workflows/conventional-commits.yml
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
name: Conventional Commits
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Conventional Commits
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- uses: webiny/action-conventional-commits@v1.1.0
|
25
.github/workflows/release-please.yml
vendored
Normal file
25
.github/workflows/release-please.yml
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
name: release-please
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
release-please:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
releases_created: ${{ steps.release-please.outputs.releases_created }}
|
||||
tag: ${{ steps.release-please.outputs.tag_name }}
|
||||
upload_url: ${{ steps.release-please.outputs.upload_url }}
|
||||
steps:
|
||||
- uses: google-github-actions/release-please-action@v3
|
||||
with:
|
||||
release-type: simple
|
||||
package-name: release-please-action
|
||||
prerelease: true
|
||||
bump-minor-pre-major: true
|
Loading…
Add table
Add a link
Reference in a new issue