From 5cd93e4e0febe8b885fa051550359c2e2709011c Mon Sep 17 00:00:00 2001 From: Brian Vanderbusch Date: Fri, 31 Jul 2020 12:22:18 -0500 Subject: [PATCH] changed Repo Dispatch step values - changed token value to use , so as to be both more descriptive of exactly what it is used for, and also leave room for future uses of the same token for different events (for example triggering a test workflow on pushes or merges) - changed repository reference to use context instead of hard coded value, to allow workflows to work for users who fork --- .github/workflows/trigger_docker.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/trigger_docker.yml b/.github/workflows/trigger_docker.yml index 1d842b60c..0c078c367 100644 --- a/.github/workflows/trigger_docker.yml +++ b/.github/workflows/trigger_docker.yml @@ -12,7 +12,7 @@ jobs: - name: 🚀 Repository Dispatch uses: peter-evans/repository-dispatch@v1 with: - token: ${{ secrets.DOCKER_ACCESS_TOKEN }} - repository: OctoPrint/docker + token: ${{ secrets.TRIGGER_DOCKER_RELEASE_TOKEN }} + repository: ${{ github.repository_owner }}/docker event-type: octoprint-release client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "event-name": "${{ github.event_name }}", "event-type": "${{ github.event.action }}"}'