Verify that Forgejo Runner can access a reusable workflow that is stored in a private repository. That should help prevent https://code.forgejo.org/forgejo/runner/issues/1274 from happening again. Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/1436 Reviewed-by: Mathieu Fenniak <mfenniak@noreply.code.forgejo.org> Co-authored-by: Andreas Ahlenstorf <andreas@ahlenstorf.ch> Co-committed-by: Andreas Ahlenstorf <andreas@ahlenstorf.ch>
11 lines
322 B
YAML
11 lines
322 B
YAML
on:
|
|
push:
|
|
|
|
jobs:
|
|
test:
|
|
# `runs-on` disables workflow expansion. We want that in this case, because then Forgejo Runner has to authenticate
|
|
# itself to access the reusable workflow.
|
|
runs-on: docker
|
|
container:
|
|
image: data.forgejo.org/oci/node:24-trixie
|
|
uses: ./.forgejo/workflows/reusable.yaml
|