Bug: reusable workflow doesn't accept secrets #15059

Open
opened 2025-11-02 11:29:12 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @johnciavarella on GitHub (Oct 28, 2025).

Description

When using secrets in a reuseable workflow it doesn't parse out the ${{ secret.somekey }}

Gitea Version

1.24.6

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

https://gist.github.com/johnciavarella/913211a54cadb6a1ea24132e01636190

Screenshots

name: Build Docker Image

on:
  push:
    branches:
      - main 
    paths-ignore:
      - '*.md'

  workflow_dispatch:
    inputs:
      manual_run:
        description: 'Manually Ran'

jobs:
  call_workflow:
      uses: https://${{ secrets.GT_ACCESS_TOKEN }}:@gitea.domainname.com/gitops-apps/sample_sharedworkflow/.gitea/workflows/echo.yaml@v1.0.2

Git Version

No response

Operating System

docker

How are you running Gitea?

docker image

Database

None

Originally created by @johnciavarella on GitHub (Oct 28, 2025). ### Description When using `secrets` in a reuseable workflow it doesn't parse out the `${{ secret.somekey }}` ### Gitea Version 1.24.6 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist https://gist.github.com/johnciavarella/913211a54cadb6a1ea24132e01636190 ### Screenshots ``` name: Build Docker Image on: push: branches: - main paths-ignore: - '*.md' workflow_dispatch: inputs: manual_run: description: 'Manually Ran' jobs: call_workflow: uses: https://${{ secrets.GT_ACCESS_TOKEN }}:@gitea.domainname.com/gitops-apps/sample_sharedworkflow/.gitea/workflows/echo.yaml@v1.0.2 ``` ### Git Version _No response_ ### Operating System docker ### How are you running Gitea? docker image ### Database None
GiteaMirror added the topic/gitea-actionstype/bug labels 2025-11-02 11:29:12 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#15059