From 9c6cfdb2613a88c45d0abf469811354ac524d55a Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Mon, 26 Sep 2022 08:39:33 -0300 Subject: [PATCH] Test using GITHUB_TOKEN --- .github/workflows/docker_hub_ki6.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker_hub_ki6.yml b/.github/workflows/docker_hub_ki6.yml index 580e466..4c48022 100644 --- a/.github/workflows/docker_hub_ki6.yml +++ b/.github/workflows/docker_hub_ki6.yml @@ -38,4 +38,9 @@ jobs: - name: Trigger KiCad-Auto-Test image build run: | - curl -X POST -u "${{secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}" -H "Accept: application/vnd.github.v3+json" -H "Content-Type: application/json" https://api.github.com/repos/INTI-CMNB/kicad_auto_test/dispatches --data '{"event_type": "build_k6"}' + curl --request POST \ + --url https://api.github.com/repos/INTI-CMNB/kicad_auto_test/dispatches \ + --header 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \ + --header 'content-type: application/json' \ + --data '{"event_type": "build_k6"}' \ + --fail