Initial
This commit is contained in:
14
.gitea/workflows/conventional_commit.yml
Normal file
14
.gitea/workflows/conventional_commit.yml
Normal file
@ -0,0 +1,14 @@
|
||||
name: Conventional Commit
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- edited
|
||||
- synchronize
|
||||
- reopened
|
||||
|
||||
jobs:
|
||||
validate_pr_title:
|
||||
uses: https://git.tainton.uk/actions/gha-workflows/.gitea/workflows/conventional-commit.yml@main
|
||||
with:
|
||||
commit_message: ${{ gitea.event.pull_request.title }}
|
20
.gitea/workflows/release.yml
Normal file
20
.gitea/workflows/release.yml
Normal file
@ -0,0 +1,20 @@
|
||||
name: Release
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
create_release:
|
||||
name: Create Release
|
||||
uses: https://git.tainton.uk/actions/gha-workflows/.gitea/workflows/create-release.yml@main
|
||||
secrets:
|
||||
ACTIONS_TOKEN: ${{ secrets.ACTIONS_TOKEN }}
|
||||
|
||||
print_release:
|
||||
name: Print Release
|
||||
runs-on: ubuntu-latest
|
||||
needs: create_release
|
||||
steps:
|
||||
- run: echo "Created release ${{ needs.create_release.outputs.release_name }}."
|
Reference in New Issue
Block a user