Compare commits
8 Commits
1.0.0
...
renovate/s
| Author | SHA1 | Date | |
|---|---|---|---|
| 33e6678d0a | |||
|
2ae472fd70
|
|||
|
bff92f363b
|
|||
|
5eefad3bfc
|
|||
|
fcc9ac5d86
|
|||
|
3512ce520d
|
|||
|
c5017145ca
|
|||
|
6daafc6841
|
28
.gitea/workflows/cog-check.yml
Normal file
28
.gitea/workflows/cog-check.yml
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
---
|
||||||
|
name: Cog check
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
workflow_call:
|
||||||
|
# inputs:
|
||||||
|
# check-latest-tag-only:
|
||||||
|
# type: boolean
|
||||||
|
# required: false
|
||||||
|
# default: true
|
||||||
|
|
||||||
|
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: ${{ inputs.check-latest-tag-only }}
|
||||||
|
check-latest-tag-only: true
|
||||||
|
git-user: "gitea-bot"
|
||||||
|
git-user-email: "bot@git.palkoi.net"
|
||||||
@@ -1,6 +1,15 @@
|
|||||||
name: Release
|
---
|
||||||
|
name: Cog release
|
||||||
on:
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
workflow_call:
|
workflow_call:
|
||||||
|
# inputs:
|
||||||
|
# check-latest-tag-only:
|
||||||
|
# type: boolean
|
||||||
|
# required: false
|
||||||
|
# default: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
@@ -26,6 +35,7 @@ jobs:
|
|||||||
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
|
check-latest-tag-only: true
|
||||||
|
# check-latest-tag-only: ${{ inputs.check-latest-tag-only }}
|
||||||
|
|
||||||
- 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
|
||||||
@@ -99,7 +99,7 @@ jobs:
|
|||||||
run: sudo chown -Rc $UID .git/
|
run: sudo chown -Rc $UID .git/
|
||||||
- name: Commit and push applied linter fixes
|
- name: Commit and push applied linter fixes
|
||||||
if: steps.ml.outputs.has_updated_sources == 1 && (env.APPLY_FIXES_EVENT == 'all' || env.APPLY_FIXES_EVENT == github.event_name) && env.APPLY_FIXES_MODE == 'commit' && github.ref != 'refs/heads/main' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) && !contains(github.event.head_commit.message, 'skip fix')
|
if: steps.ml.outputs.has_updated_sources == 1 && (env.APPLY_FIXES_EVENT == 'all' || env.APPLY_FIXES_EVENT == github.event_name) && env.APPLY_FIXES_MODE == 'commit' && github.ref != 'refs/heads/main' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) && !contains(github.event.head_commit.message, 'skip fix')
|
||||||
uses: stefanzweifel/git-auto-commit-action@v4
|
uses: stefanzweifel/git-auto-commit-action@v7
|
||||||
with:
|
with:
|
||||||
branch: ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }}
|
branch: ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }}
|
||||||
commit_message: "feat(linter): apply linters fixes"
|
commit_message: "feat(linter): apply linters fixes"
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ jobs:
|
|||||||
README.md
|
README.md
|
||||||
- name: Commit and push new terraform docs version
|
- name: Commit and push new terraform docs version
|
||||||
if: steps.verify-changed-files.outputs.files_changed == 'true'
|
if: steps.verify-changed-files.outputs.files_changed == 'true'
|
||||||
uses: stefanzweifel/git-auto-commit-action@v4
|
uses: stefanzweifel/git-auto-commit-action@v7
|
||||||
with:
|
with:
|
||||||
branch: ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }}
|
branch: ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }}
|
||||||
commit_message: "docs(tf-docs): update docs"
|
commit_message: "docs(tf-docs): update docs"
|
||||||
|
|||||||
12
cog.toml
Normal file
12
cog.toml
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
# [packages]
|
||||||
|
# build-docker-image = { path = ".gitea/workflows/build-docker-image.yml" }
|
||||||
|
# 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" }
|
||||||
Reference in New Issue
Block a user