3 Commits

Author SHA1 Message Date
3512ce520d feat(cog): update package names
Some checks failed
Cog Check / Create release (pull_request) Successful in 6s
Cog Release / Create release (push) Failing after 7s
2024-11-21 22:30:37 +02:00
c5017145ca feat(cog): specify git username/email
Some checks failed
Cog Check / Create release (pull_request) Failing after 5s
2024-11-21 22:27:41 +02:00
6daafc6841 feat(cog)!: update how releases are handled 2024-11-21 22:27:22 +02:00
3 changed files with 37 additions and 2 deletions

View File

@@ -0,0 +1,21 @@
name: Cog Check
on:
pull_request:
workflow_call:
jobs:
release:
name: Create release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Semver release
uses: cocogitto/cocogitto-action@v3
with:
check-latest-tag-only: true
git-user: "gitea-bot"
git-user-email: "bot@git.palkoi.net"

View File

@@ -1,5 +1,8 @@
name: Release name: Cog Release
on: on:
push:
branches:
- main
workflow_call: workflow_call:
jobs: jobs:
@@ -25,7 +28,6 @@ jobs:
release: true release: true
git-user: "gitea-bot" git-user: "gitea-bot"
git-user-email: "bot@git.palkoi.net" git-user-email: "bot@git.palkoi.net"
check-latest-tag-only: true
- name: Generate Changelog - name: Generate Changelog
run: cog changelog --at ${{ steps.release.outputs.version }} -t full_hash > GITHUB_CHANGELOG.md run: cog changelog --at ${{ steps.release.outputs.version }} -t full_hash > GITHUB_CHANGELOG.md

12
cog.toml Normal file
View File

@@ -0,0 +1,12 @@
[packages]
build-docker-image = { path = ".gitea/workflows/build-docker-image" }
cog-check = { path = ".gitea/workflows/cog-check.yml" }
cog-release = { path = ".gitea/workflows/cog-release.yml" }
otf-apply = { path = ".gitea/workflows/otf-apply.yml" }
otf-plan = { path = ".gitea/workflows/otf-plan.yml" }
sec-blackbox-decrypt = { path = ".gitea/workflows/sec-blackbox-decrypt.yml" }
sec-checks-trivy = { path = ".gitea/workflows/sec-checks-trivy.yml" }
sec-megalinter = { path = ".gitea/workflows/sec-megalinter.yml" }
tf-apply = { path = ".gitea/workflows/tf-apply.yml" }
tf-docs = { path = ".gitea/workflows/tf-docs.yml" }
tf-plan = { path = ".gitea/workflows/tf-plan.yml" }