feat: add CI workflows for pull requests and releases
All checks were successful
Lint Pull Request / Lint PR Title (pull_request) Successful in 29s
All checks were successful
Lint Pull Request / Lint PR Title (pull_request) Successful in 29s
This commit is contained in:
parent
2c327e504d
commit
69e8b4e2ac
3 changed files with 113 additions and 0 deletions
21
.gitea/workflows/pr.yml
Normal file
21
.gitea/workflows/pr.yml
Normal file
|
@ -0,0 +1,21 @@
|
|||
name: "Lint Pull Request"
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, edited, reopened, synchronize]
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
name: Lint PR Title
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
if: github.base_ref != 'release'
|
||||
|
||||
steps:
|
||||
- name: Install go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: 1.24.2
|
||||
|
||||
- name: Run Pull Request Lint Action
|
||||
uses: https://git.kjan.de/actions/pull-request-lint@main
|
Loading…
Add table
Add a link
Reference in a new issue