From 28f4756c5139eb0816d904cbb4d0f1d7e6b7c132 Mon Sep 17 00:00:00 2001 From: Security maintenance Date: Sat, 7 Nov 2026 11:16:34 +0000 Subject: [PATCH] Pin CI actions, exclude unattended dependency runs, and isolate deployment [skip ci] --- .forgejo/workflows/docker-publish.yml | 11 ++++++----- .forgejo/workflows/shellcheck.yml | 3 ++- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.forgejo/workflows/docker-publish.yml b/.forgejo/workflows/docker-publish.yml index 673e145..8bebbe0 100644 --- a/.forgejo/workflows/docker-publish.yml +++ b/.forgejo/workflows/docker-publish.yml @@ -2,21 +2,22 @@ name: Docker on: push: - branches: [ "main" ] - tags: [ 'v*.*.*' ] + branches: ["main"] + tags: ['v*.*.*'] pull_request: - branches: [ "main" ] + branches: ["main"] jobs: build: runs-on: docker steps: - name: Checkout repository - uses: https://code.forgejo.org/actions/checkout@v4 + uses: https://code.forgejo.org/actions/checkout@11d5960a326750d5838078e36cf38b85af677262 - name: Build and publish image - uses: http://forgejo:3000/andras/ci-actions/docker-publish@main + uses: https://git.schmelczer.dev/andras/ci-actions/docker-publish@a415e2a50992af99b7b6dd3f02cca372d87b11f6 with: context: . push: ${{ github.event_name != 'pull_request' }} token: ${{ secrets.FORGEJO_PACKAGE_TOKEN }} + if: ${{ github.actor != 'renovate-bot' && !startsWith(github.ref, 'refs/heads/renovate/') && !startsWith(github.head_ref, 'renovate/') }} diff --git a/.forgejo/workflows/shellcheck.yml b/.forgejo/workflows/shellcheck.yml index df53432..c13e654 100644 --- a/.forgejo/workflows/shellcheck.yml +++ b/.forgejo/workflows/shellcheck.yml @@ -10,10 +10,11 @@ jobs: shellcheck: runs-on: docker steps: - - uses: https://code.forgejo.org/actions/checkout@v4 + - uses: https://code.forgejo.org/actions/checkout@11d5960a326750d5838078e36cf38b85af677262 - name: Install ShellCheck run: apt-get update && apt-get install -y shellcheck - name: Run ShellCheck run: find ./src -name '*.sh' -exec shellcheck {} + + if: ${{ github.actor != 'renovate-bot' && !startsWith(github.ref, 'refs/heads/renovate/') && !startsWith(github.head_ref, 'renovate/') }}