From 874644188586b2c59f7010cb982ae590881e936d Mon Sep 17 00:00:00 2001 From: theogguu <38506698+theogguu@users.noreply.github.com> Date: Sat, 19 Oct 2024 15:15:23 -0700 Subject: [PATCH] Updated 'update-label-directory.yml' and 'update-label-directory.js' --- .github/workflows/update-label-directory.yml | 6 +++--- github-actions/utils/update-label-directory.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/update-label-directory.yml b/.github/workflows/update-label-directory.yml index 7a9d94a365..01f9c3460d 100644 --- a/.github/workflows/update-label-directory.yml +++ b/.github/workflows/update-label-directory.yml @@ -33,9 +33,9 @@ jobs: env: label_edits: ${{ steps.update-label-directory.outputs.result }} run: | - curl -X POST "https://script.google.com/macros/s/AKfycbw_rM8kwRea_iT6NbP1k5c7nJl5qg-5IwiTPXUyd7V2Oe_TN_TbapdpcVtLPHieKdUt/exec" \ - -H "Content-Type: application/json" \ - -d "$label_edits" + curl -X POST "https://script.google.com/macros/s/AKfycbw_kmDVqQW5J8wXWl1BXvJzALU6k0XYpAc5XJ7inQSyq8_opUuNg4ToBzh3Gf4M5jhw/exec" \ + -H "Content-Type: application/json" \ + -d "$label_edits" # Before next step, run `git pull` so that branch is current - name: Pull latest changes from gh-pages diff --git a/github-actions/utils/update-label-directory.js b/github-actions/utils/update-label-directory.js index 643544df20..6ada45692c 100644 --- a/github-actions/utils/update-label-directory.js +++ b/github-actions/utils/update-label-directory.js @@ -29,7 +29,7 @@ async function main({ g, c }) { // If label 'edited' but changes do not include 'name', label directory is not updated and workflow exits if (labelAction === 'edited' && !context.payload.changes.name) { console.log(`${breakLine}\n`); - console.log(`What was changed:`); + console.log(`${labelName} label changed:`); console.log(context.payload.changes); console.log(`\n${breakLine}\n`); labelAction = "no update";