Compare commits

..

5 Commits

Author SHA1 Message Date
bot 8109c677d6 chore(deps): update actions/checkout action to v7
Cog check / Create release (pull_request) Successful in 1m3s
2026-06-19 00:02:02 +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
12 changed files with 39 additions and 29 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v6 uses: actions/checkout@v7
- name: Set up QEMU - name: Set up QEMU
uses: docker/setup-qemu-action@v3 uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx - name: Set up Docker Buildx
+1 -1
View File
@@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v6 - uses: actions/checkout@v7
with: with:
fetch-depth: 0 fetch-depth: 0
+8 -10
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:
@@ -17,9 +14,10 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v6 - uses: actions/checkout@v7
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
@@ -46,5 +44,5 @@ jobs:
- name: Upload github release - name: Upload github release
uses: softprops/action-gh-release@v2 uses: softprops/action-gh-release@v2
with: with:
body_path: ${{ steps.changelog.outputs.stdout }} body: ${{ steps.changelog.outputs.stdout }}
tag_name: ${{ steps.release.outputs.version }} tag_name: ${{ steps.release.outputs.version }}
+3 -3
View File
@@ -27,10 +27,10 @@ jobs:
steps: steps:
- name: Clone repo - name: Clone repo
uses: actions/checkout@v6 uses: actions/checkout@v7
- 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
@@ -42,7 +42,7 @@ jobs:
exit "$(cat exitcode)"; exit "$(cat exitcode)";
fi fi
- name: Clone blackbox repo - name: Clone blackbox repo
uses: actions/checkout@v6 uses: actions/checkout@v7
if: ${{ steps.check.outputs.code == 2 }} if: ${{ steps.check.outputs.code == 2 }}
with: with:
repository: xaked/blackbox repository: xaked/blackbox
+3 -3
View File
@@ -31,9 +31,9 @@ jobs:
tofu_version: ${{ inputs.tofu-version }} tofu_version: ${{ inputs.tofu-version }}
cli_config_credentials_token: ${{ secrets.tf-api-token }} cli_config_credentials_token: ${{ secrets.tf-api-token }}
- name: Clone repo - name: Clone repo
uses: actions/checkout@v6 uses: actions/checkout@v7
- name: Clone blackbox repo - name: Clone blackbox repo
uses: actions/checkout@v6 uses: actions/checkout@v7
with: with:
repository: xaked/blackbox repository: xaked/blackbox
path: blackbox path: blackbox
@@ -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
@@ -13,7 +13,7 @@ jobs:
steps: steps:
- name: Clone blackbox repo - name: Clone blackbox repo
uses: actions/checkout@v6 uses: actions/checkout@v7
with: with:
repository: xaked/blackbox repository: xaked/blackbox
path: blackbox path: blackbox
+1 -1
View File
@@ -9,7 +9,7 @@ jobs:
steps: steps:
- name: Clone repo - name: Clone repo
uses: actions/checkout@v6 uses: actions/checkout@v7
- name: Run Trivy vulnerability scanner in IaC mode (LOW/MED) - name: Run Trivy vulnerability scanner in IaC mode (LOW/MED)
uses: aquasecurity/trivy-action@master uses: aquasecurity/trivy-action@master
with: with:
+2 -2
View File
@@ -43,7 +43,7 @@ jobs:
steps: steps:
# Git Checkout # Git Checkout
- name: Checkout Code - name: Checkout Code
uses: actions/checkout@v6 uses: actions/checkout@v7
with: with:
token: ${{ secrets.gitea-token }} token: ${{ secrets.gitea-token }}
fetch-depth: 0 # If you use VALIDATE_ALL_CODEBASE = true, you can remove this line to improve performances fetch-depth: 0 # If you use VALIDATE_ALL_CODEBASE = true, you can remove this line to improve performances
@@ -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: |
+3 -3
View File
@@ -22,10 +22,10 @@ jobs:
steps: steps:
- name: Clone repo - name: Clone repo
uses: actions/checkout@v6 uses: actions/checkout@v7
- 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
@@ -37,7 +37,7 @@ jobs:
exit "$(cat exitcode)"; exit "$(cat exitcode)";
fi fi
- name: Clone blackbox repo - name: Clone blackbox repo
uses: actions/checkout@v6 uses: actions/checkout@v7
if: ${{ steps.check.outputs.code == 2 }} if: ${{ steps.check.outputs.code == 2 }}
with: with:
repository: xaked/blackbox repository: xaked/blackbox
+1 -1
View File
@@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v6 - uses: actions/checkout@v7
with: with:
ref: ${{ github.event.pull_request.head.ref }} ref: ${{ github.event.pull_request.head.ref }}
- name: Install terraform docs - name: Install terraform docs
+3 -3
View File
@@ -26,9 +26,9 @@ jobs:
terraform_version: 1.7.5 terraform_version: 1.7.5
cli_config_credentials_token: ${{ secrets.tf-api-token }} cli_config_credentials_token: ${{ secrets.tf-api-token }}
- name: Clone repo - name: Clone repo
uses: actions/checkout@v6 uses: actions/checkout@v7
- name: Clone blackbox repo - name: Clone blackbox repo
uses: actions/checkout@v6 uses: actions/checkout@v7
with: with:
repository: xaked/blackbox repository: xaked/blackbox
path: blackbox path: blackbox
@@ -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: |