From af1ae5ddd7002cc8eb9bbadafa3680803f18c153 Mon Sep 17 00:00:00 2001 From: Jens Tirsvad Nielsen Date: Sat, 10 Oct 2026 13:36:44 +0800 Subject: [PATCH] Throwaway: run a script file fetched from TirSystem/github-action --- .gitea/workflows/script-checkout-test.yml | 24 +++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .gitea/workflows/script-checkout-test.yml diff --git a/.gitea/workflows/script-checkout-test.yml b/.gitea/workflows/script-checkout-test.yml new file mode 100644 index 0000000..9ab3cea --- /dev/null +++ b/.gitea/workflows/script-checkout-test.yml @@ -0,0 +1,24 @@ +name: Script checkout test + +on: + push: + branches: [ verify-script-checkout ] + +jobs: + run-shared-script: + permissions: + contents: read + runs-on: ubuntu-latest + steps: + - name: Fetch the shared script repository + uses: actions/checkout@v4 + with: + repository: TirSystem/github-action + ref: main + path: shared-scripts + + - name: Run a script file from it + run: | + ls shared-scripts/tools + python3 shared-scripts/tools/build_wiki.py --hash Home + echo "RAN-FROM-FILE in ${{ gitea.repository }}"