From 250b1ed272a80f4cac3e2c9e9bf1f5da6f151451 Mon Sep 17 00:00:00 2001 From: Jothan Frakes Date: Fri, 4 Aug 2023 08:33:19 -0700 Subject: [PATCH] Update tld-update.yml to automatically add labels when autopull catches deltas and generates PR (#1815) * Update tld-update.yml Auto-adds labels to indicate this is automation and impacts the upper 'ICANN' section * Label autopull and Add it to "List Add/Mod/Del" in "To-Do" state Added the project/card assignment ( hat tip: @cpu ) * Updating tld-update.yml - adds label and makes 'card' w project/state Fixed the Card _stuff_ to ``` column-name: To-Do ``` --- .github/workflows/tld-update.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/tld-update.yml b/.github/workflows/tld-update.yml index 7b0cb4945..d8003b3f7 100644 --- a/.github/workflows/tld-update.yml +++ b/.github/workflows/tld-update.yml @@ -38,7 +38,18 @@ jobs: committer: "GitHub " author: "GitHub " branch: psl-gtld-update + labels: | + ✅ autopull + 🚩ICANN (IANA/ICP-3) Section delete-branch: true + + - name: Create or Update to List Add/Mod/Del To-Do Card + if: ${{ steps.cpr.outputs.pull-request-number }} + uses: peter-evans/create-or-update-project-card@v2 + with: + project-number: 2 + column-name: To-Do + issue-number: ${{ steps.cpr.outputs.pull-request-number }} - name: Check outputs run: |