Use absolute URL with PAT for sops-decrypt action (act default-to-github fix)

This commit is contained in:
2026-05-05 14:01:16 +02:00
parent 20edbaef0b
commit d517e3e145
+4 -1
View File
@@ -111,7 +111,10 @@ jobs:
- name: Decrypt SOPS secrets
if: ${{ inputs.decrypt != '' }}
uses: Charlie/project-charlie/.gitea/actions/sops-decrypt@main
# Absolute URL form (with auth) is required so act doesn't default to
# github.com. Same pattern as the caller's `uses:` for this workflow.
# See https://github.com/go-gitea/gitea/issues/25929.
uses: https://sys-gitea-runner:${{ secrets.RUNNER_REPO_PAT }}@gitea.alexandru.macocian.me/Charlie/project-charlie/.gitea/actions/sops-decrypt@main
with:
decrypt: ${{ inputs.decrypt }}
workdir: ${{ steps.resolve.outputs.path }}