Compare commits
8 Commits
1.0.0
...
renovate/p
| Author | SHA1 | Date | |
|---|---|---|---|
| 400e0bc8d8 | |||
|
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:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
workflow_call:
|
||||
# inputs:
|
||||
# check-latest-tag-only:
|
||||
# type: boolean
|
||||
# required: false
|
||||
# default: true
|
||||
|
||||
jobs:
|
||||
release:
|
||||
@@ -26,6 +35,7 @@ jobs:
|
||||
git-user: "gitea-bot"
|
||||
git-user-email: "bot@git.palkoi.net"
|
||||
check-latest-tag-only: true
|
||||
# check-latest-tag-only: ${{ inputs.check-latest-tag-only }}
|
||||
|
||||
- name: Generate Changelog
|
||||
run: cog changelog --at ${{ steps.release.outputs.version }} -t full_hash > GITHUB_CHANGELOG.md
|
||||
@@ -81,7 +81,7 @@ jobs:
|
||||
- name: Create Pull Request with applied fixes
|
||||
id: cpr
|
||||
if: steps.ml.outputs.has_updated_sources == 1 && (env.APPLY_FIXES_EVENT == 'all' || env.APPLY_FIXES_EVENT == github.event_name) && env.APPLY_FIXES_MODE == 'pull_request' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) && !contains(github.event.head_commit.message, 'skip fix')
|
||||
uses: peter-evans/create-pull-request@v6
|
||||
uses: peter-evans/create-pull-request@v8
|
||||
with:
|
||||
token: ${{ secrets.gitea-token }}
|
||||
commit-message: "[MegaLinter] Apply linters automatic fixes"
|
||||
|
||||
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