5 Commits

Author SHA1 Message Date
b6c9a706bd chore(deps): update github artifact actions
All checks were successful
Cog check / Create release (pull_request) Successful in 6s
2025-10-25 00:01:35 +00:00
2ae472fd70 feat(cog): disable monorepo packages
All checks were successful
Cog release / Create release (push) Successful in 7s
2024-11-21 22:53:30 +02:00
bff92f363b feat(cog): format files
All checks were successful
Cog release / Create release (push) Successful in 7s
2024-11-21 22:51:18 +02:00
5eefad3bfc feat(cog): remove ability to specify if we need to check from latest tag only
All checks were successful
Cog Release / Create release (push) Successful in 7s
2024-11-21 22:48:40 +02:00
fcc9ac5d86 feat(cog): add ability to specify if we need to check from latest tag only 2024-11-21 22:40:53 +02:00
8 changed files with 34 additions and 19 deletions

View File

@@ -1,7 +1,13 @@
name: Cog Check ---
name: Cog check
on: on:
pull_request: pull_request:
workflow_call: workflow_call:
# inputs:
# check-latest-tag-only:
# type: boolean
# required: false
# default: true
jobs: jobs:
release: release:
@@ -16,6 +22,7 @@ jobs:
- name: Semver release - name: Semver release
uses: cocogitto/cocogitto-action@v3 uses: cocogitto/cocogitto-action@v3
with: with:
# check-latest-tag-only: ${{ inputs.check-latest-tag-only }}
check-latest-tag-only: true check-latest-tag-only: true
git-user: "gitea-bot" git-user: "gitea-bot"
git-user-email: "bot@git.palkoi.net" git-user-email: "bot@git.palkoi.net"

View File

@@ -1,9 +1,15 @@
name: Cog Release ---
name: Cog release
on: on:
push: push:
branches: branches:
- main - main
workflow_call: workflow_call:
# inputs:
# check-latest-tag-only:
# type: boolean
# required: false
# default: true
jobs: jobs:
release: release:
@@ -28,6 +34,8 @@ 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
# 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

View File

@@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Retrieve artifacts - name: Retrieve artifacts
id: download id: download
uses: actions/download-artifact@v3 uses: actions/download-artifact@v6
with: with:
name: artifacts name: artifacts
- name: Check if job errored - name: Check if job errored

View File

@@ -77,7 +77,7 @@ jobs:
shell: bash shell: bash
run: printf "${{ steps.tfplan.outputs.exitcode }}" > exitcode; run: printf "${{ steps.tfplan.outputs.exitcode }}" > exitcode;
- name: Upload artifacts - name: Upload artifacts
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v5
with: with:
name: artifacts name: artifacts
path: | path: |

View File

@@ -65,7 +65,7 @@ jobs:
# Upload MegaLinter artifacts # Upload MegaLinter artifacts
- name: Archive production artifacts - name: Archive production artifacts
if: success() || failure() if: success() || failure()
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v5
with: with:
name: MegaLinter reports name: MegaLinter reports
path: | path: |

View File

@@ -25,7 +25,7 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Retrieve artifacts - name: Retrieve artifacts
id: download id: download
uses: actions/download-artifact@v3 uses: actions/download-artifact@v6
with: with:
name: artifacts name: artifacts
- name: Check if job errored - name: Check if job errored

View File

@@ -72,7 +72,7 @@ jobs:
shell: bash shell: bash
run: printf "${{ steps.tfplan.outputs.exitcode }}" > exitcode; run: printf "${{ steps.tfplan.outputs.exitcode }}" > exitcode;
- name: Upload artifacts - name: Upload artifacts
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v5
with: with:
name: artifacts name: artifacts
path: | path: |

View File

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