Compare commits

7 Commits

Author SHA1 Message Date
bot af69dce1cd chore(deps): update docker/login-action action to v4
Cog check / Create release (pull_request) Successful in 25s
2026-04-28 00:04:45 +00:00
palkx 371f2fa255 feat: downgrade artifact actions
Cog release / Create release (push) Successful in 14s
2026-04-25 13:54:09 +03:00
palkx b9f9f87068 feat: add release job
Cog release / Create release (push) Successful in 9s
2026-01-04 02:23:22 +02:00
palkx cd9815dfb3 fix(cocogitto/cocogitto-action): checkout head sha 2026-01-04 02:17:45 +02:00
palkx 50ff19fae2 chore(deps): cocogitto/cocogitto-action - checkout head sha
Cog release / Create release (push) Successful in 8s
2026-01-04 01:41:25 +02:00
palkx 63da84fe0a chore(deps): update cocogitto/cocogitto-action action to v4
Cog check / Create release (pull_request) Successful in 6s
Cog release / Create release (push) Successful in 9s
2026-01-03 17:59:18 +02:00
bot 4b3b1ab69f chore(deps): update cocogitto/cocogitto-action action to v4
Cog check / Create release (pull_request) Failing after 6s
2026-01-03 17:51:42 +02:00
9 changed files with 36 additions and 23 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ jobs:
type=schedule,pattern={{date 'YYYYMMDD-hhmmss' tz='Europe/Kyiv'}} type=schedule,pattern={{date 'YYYYMMDD-hhmmss' tz='Europe/Kyiv'}}
- name: Login in Private Registry - name: Login in Private Registry
if: github.event_name != 'pull_request' if: github.event_name != 'pull_request'
uses: docker/login-action@v3 uses: docker/login-action@v4
with: with:
registry: ${{ inputs.registry }} registry: ${{ inputs.registry }}
username: ${{ secrets.registry-user }} username: ${{ secrets.registry-user }}
+3 -3
View File
@@ -20,9 +20,9 @@ jobs:
fetch-depth: 0 fetch-depth: 0
- name: Semver release - name: Semver release
uses: cocogitto/cocogitto-action@v3 uses: cocogitto/cocogitto-action@v4
with: with:
# check-latest-tag-only: ${{ inputs.check-latest-tag-only }} command: check
check-latest-tag-only: true args: --from-latest-tag
git-user: "gitea-bot" git-user: "gitea-bot"
git-user-email: "bot@git.palkoi.net" git-user-email: "bot@git.palkoi.net"
+15 -14
View File
@@ -1,15 +1,12 @@
--- ---
name: Cog release name: Cog release
on: on:
push:
branches:
- main
workflow_call: workflow_call:
# inputs: inputs:
# check-latest-tag-only: ref:
# type: boolean type: string
# required: false required: false
# default: true default: ""
jobs: jobs:
release: release:
@@ -20,6 +17,7 @@ jobs:
- uses: actions/checkout@v6 - uses: actions/checkout@v6
with: with:
fetch-depth: 0 fetch-depth: 0
ref: ${{ inputs.ref == '' && github.sha || inputs.ref }}
- run: | - run: |
git config user.name gitea-bot git config user.name gitea-bot
@@ -28,20 +26,23 @@ jobs:
git config --global user.name gitea-bot git config --global user.name gitea-bot
- name: Semver release - name: Semver release
uses: cocogitto/cocogitto-action@v3 uses: cocogitto/cocogitto-action@v4
id: release id: release
with: with:
release: true command: bump
args: --auto
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 id: changelog
uses: cocogitto/cocogitto-action@v4
with:
command: changelog
args: --at ${{ steps.release.outputs.version }} -t full_hash
- name: Upload github release - name: Upload github release
uses: softprops/action-gh-release@v2 uses: softprops/action-gh-release@v2
with: with:
body_path: GITHUB_CHANGELOG.md body: ${{ steps.changelog.outputs.stdout }}
tag_name: ${{ steps.release.outputs.version }} tag_name: ${{ steps.release.outputs.version }}
+1 -1
View File
@@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v6 uses: actions/checkout@v6
- name: Retrieve artifacts - name: Retrieve artifacts
id: download id: download
uses: actions/download-artifact@v7 uses: actions/download-artifact@v3
with: with:
name: artifacts name: artifacts
- name: Check if job errored - name: Check if job errored
+1 -1
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@v6 uses: actions/upload-artifact@v3
with: with:
name: artifacts name: artifacts
path: | path: |
+12
View File
@@ -0,0 +1,12 @@
---
name: Cog release
on:
push:
branches:
- main
jobs:
release:
name: Create release
runs-on: ubuntu-latest
uses: ./.gitea/workflows/cog-release.yml
+1 -1
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@v6 uses: actions/upload-artifact@v3
with: with:
name: MegaLinter reports name: MegaLinter reports
path: | path: |
+1 -1
View File
@@ -25,7 +25,7 @@ jobs:
uses: actions/checkout@v6 uses: actions/checkout@v6
- name: Retrieve artifacts - name: Retrieve artifacts
id: download id: download
uses: actions/download-artifact@v7 uses: actions/download-artifact@v3
with: with:
name: artifacts name: artifacts
- name: Check if job errored - name: Check if job errored
+1 -1
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@v6 uses: actions/upload-artifact@v3
with: with:
name: artifacts name: artifacts
path: | path: |