ci: add ci for both Gitea and Github repos #4

Merged
jon merged 3 commits from gitea-github-ci into development 2025-07-01 17:28:14 +00:00
5 changed files with 63 additions and 0 deletions

21
.cz.yaml Normal file
View File

@ -0,0 +1,21 @@
---
commitizen:
customize:
change_type_map:
feature: Features
fix: Fixes
refactor: Refactoring
test: Tests
change_type_order:
- BREAKING CHANGE
- feat
- fix
- test
- refactor
commit_parser: ^(?P<change_type>feat|fix|test|refactor|perf|BREAKING CHANGE)(?:\((?P<scope>[^()\r\n]*)\)|\()?(?P<breaking>!)?:\s(?P<message>.*)?
name: cz_customize
prerelease_offset: 1
tag_format: $version
update_changelog_on_bump: false
version: 0.0.1
version_scheme: semver

0
.gitea/.gitkeep Normal file
View File

View File

25
.github/workflows/ci.yaml vendored Normal file
View File

@ -0,0 +1,25 @@
---
name: 'CI'
on:
push:
branches:
- '**'
tags:
- '*'
jobs:
docker:
name: 'Docker'
uses: nofusscomputing/action_docker/.github/workflows/docker.yaml@development
with:
DOCKER_BUILD_IMAGE_NAME: "nofusscomputing/git-event-problem-matcher"
DOCKER_PUBLISH_REGISTRY: "docker.io"
DOCKER_PUBLISH_IMAGE_NAME: "nofusscomputing/git-event-problem-matcher"
secrets:
DOCKER_PUBLISH_USERNAME: ${{ secrets.NFC_DOCKERHUB_USERNAME }}
DOCKER_PUBLISH_PASSWORD: ${{ secrets.NFC_DOCKERHUB_TOKEN }}

17
.github/workflows/pull_request.yaml vendored Normal file
View File

@ -0,0 +1,17 @@
---
name: Pull Requests
on:
pull_request: {}
jobs:
ci-test:
runs-on: ubuntu-latest
steps:
- name: Test
run: |
echo "github";