From 73a0ba223eafda73724fa46e104f4a96c245f001 Mon Sep 17 00:00:00 2001 From: Codinget Date: Fri, 22 May 2026 22:55:04 +0000 Subject: [PATCH] ci: test dispatch --- .gitea/workflows/test-dispatch.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .gitea/workflows/test-dispatch.yaml diff --git a/.gitea/workflows/test-dispatch.yaml b/.gitea/workflows/test-dispatch.yaml new file mode 100644 index 0000000..ba15fcc --- /dev/null +++ b/.gitea/workflows/test-dispatch.yaml @@ -0,0 +1,23 @@ +name: Test Dispatch +on: + workflow_dispatch: + inputs: + restart: + description: Restart gitea after updating the theme files + required: false + type: boolean + +jobs: + test: + runs-on: ubuntu-latest + steps: + - run: >- + curl "$GITHUB_API_URL/repos/codinget/actions-test/actions/workflows/test-inputs/dispatches" + -X POST + -H "Authorization: token $ACTIONS_RUNTIME_TOKEN" + -H "Content-Type: application/json" -d '{ + "ref": "refs/heads/main", + "inputs": { + "restart": ${{ inputs.restart }} + } + }'