mirror of
https://github.com/ublue-os/forge.git
synced 2025-04-20 13:33:44 +03:00
ci: workflows for conventional commit and release-please
This commit is contained in:
parent
0714214247
commit
be498403a8
11
.github/dependabot.yml
vendored
Normal file
11
.github/dependabot.yml
vendored
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
# To get started with Dependabot version updates, you'll need to specify which
|
||||||
|
# package ecosystems to update and where the package manifests are located.
|
||||||
|
# Please see the documentation for all configuration options:
|
||||||
|
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
|
||||||
|
|
||||||
|
version: 2
|
||||||
|
updates:
|
||||||
|
- package-ecosystem: "github-actions" # See documentation for possible values
|
||||||
|
directory: "/" # Location of package manifests
|
||||||
|
schedule:
|
||||||
|
interval: "weekly"
|
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…
Reference in a new issue