From 63c51502a5315c36ef2accec9fa6f9231a8b5813 Mon Sep 17 00:00:00 2001 From: Sonja Heinze Date: Sun, 17 Dec 2023 20:04:26 +0100 Subject: [PATCH] Try to delete label, PR trigger side --- .../workflows/workflow_triggered_by_pull_request.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/workflow_triggered_by_pull_request.yml b/.github/workflows/workflow_triggered_by_pull_request.yml index 92950adad1..3c13684ca7 100644 --- a/.github/workflows/workflow_triggered_by_pull_request.yml +++ b/.github/workflows/workflow_triggered_by_pull_request.yml @@ -6,7 +6,12 @@ on: env: GH_API_LABELS: ${{ github.event.pull_request.issue_url }}/labels - LABEL_NAME: fuzzy-diff-looks-good + + + + # DOWNLOAD_URL = $ACTIONS_RUNS_ENDPOINT/$approved_diffs_workflow_run + # HASH=$approved_diffs_hash + jobs: share_instruction: @@ -17,8 +22,8 @@ jobs: mkdir -p ./forward jq -n \ --arg instruction "delete_label" \ - --arg url "$GH_API_LABELS/$LABEL_NAME" \ - '{instruction: $instruction, url: $url}' > ./forward/instruction.json + --arg endpoint "$GH_API_LABELS" \ + '{instruction: $instruction, endpoint: $endpoint}' > ./forward/instruction.json - uses: actions/upload-artifact@v2 with: name: forwarded_instructions