Skip to content

Commit

Permalink
Try to delete label, PR trigger side
Browse files Browse the repository at this point in the history
  • Loading branch information
pitag-ha committed Dec 17, 2023
1 parent a2e354a commit 8cd2a5c
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/workflow_triggered_by_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 8cd2a5c

Please sign in to comment.