From b52139af9377dc10a03d64e838c14315c15edfce Mon Sep 17 00:00:00 2001 From: Codinget Date: Fri, 22 May 2026 23:19:44 +0000 Subject: [PATCH] ci: why are there two -r args to tea? --- .gitea/workflows/test-dispatch.yaml | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/.gitea/workflows/test-dispatch.yaml b/.gitea/workflows/test-dispatch.yaml index 24c287b..90100ec 100644 --- a/.gitea/workflows/test-dispatch.yaml +++ b/.gitea/workflows/test-dispatch.yaml @@ -8,20 +8,6 @@ on: type: boolean jobs: - test: - runs-on: ubuntu-latest - steps: - - run: |- - curl -sv "$GITHUB_API_URL/repos/codinget/actions-test/actions/workflows/test-inputs.yaml/dispatches" \ - -X POST \ - -H "Authorization: token ${{ gitea.token }}" \ - -H "Content-Type: application/json" \ - -d '{ - "ref": "refs/heads/main", - "inputs": { - "restart": ${{ inputs.restart }} - } - }' test-with-tea: runs-on: ubuntu-latest steps: @@ -30,4 +16,4 @@ jobs: - name: Add token run: ./tea login add --url "${{ gitea.server_url }}" --token "${{ gitea.token }}" --name gitea - name: Trigger with tea - run: ./tea actions workflows dispatch -r "${{ gitea.repository }}" -r main --login "gitea" test-inputs.yaml + run: ./tea actions workflows dispatch --repo "${{ gitea.repository }}" --ref main --login "gitea" test-inputs.yaml