test: cross-repo (qualified-ref) workflow_call probe for Phase 4
zz-xrepo-caller / call-qualified (push) Successful in 1s
zz-xrepo-caller / call-qualified (push) Successful in 1s
This commit is contained in:
@@ -0,0 +1,11 @@
|
|||||||
|
# THROWAWAY cross-repo-resolution probe for Phase 4 — delete after.
|
||||||
|
# Uses a fully-qualified owner/repo/path@ref reference (the Phase-4 mechanism),
|
||||||
|
# not a local ./path one — exercises Gitea's external-workflow resolution.
|
||||||
|
name: zz-xrepo-caller
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [wf-xrepo-probe]
|
||||||
|
jobs:
|
||||||
|
call-qualified:
|
||||||
|
uses: steve/gadfly/.gitea/workflows/zz-xrepo-reusable.yml@wf-xrepo-probe
|
||||||
|
secrets: inherit
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
# THROWAWAY cross-repo-resolution probe for Phase 4 — delete after.
|
||||||
|
name: zz-xrepo-reusable
|
||||||
|
on:
|
||||||
|
workflow_call: {}
|
||||||
|
jobs:
|
||||||
|
probe:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- env:
|
||||||
|
S: ${{ secrets.OLLAMA_CLOUD_API_KEY }}
|
||||||
|
run: |
|
||||||
|
if [ -n "$S" ]; then echo "XREPO_PROBE_RESULT=SECRET_PRESENT"; else echo "XREPO_PROBE_RESULT=SECRET_ABSENT"; fi
|
||||||
Reference in New Issue
Block a user