name: Test Gitea Secrets on: [push] jobs: print-secret: runs-on: ubuntu-latest steps: - name: Print Secret env: # Map the Gitea secret to an environment variable MY_TEST_SECRET: ${{ secrets.MODAL_KEY }} run: | # Use 'echo' to print the variable # Gitea will automatically mask the actual value if it matches a secret echo "The secret value is: $MY_TEST_SECRET"