From 7937767bacaa81a8039455e893c1a653c2d77ece Mon Sep 17 00:00:00 2001 From: Colleen Pridemore <4281084+colleenpridemore@users.noreply.github.com> Date: Mon, 29 Apr 2024 06:27:09 -0500 Subject: [PATCH 1/2] Update enforce-label.yml added suggested code from REST API in docs --- .github/workflows/enforce-label.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/enforce-label.yml b/.github/workflows/enforce-label.yml index 2217a7b765..958737e014 100644 --- a/.github/workflows/enforce-label.yml +++ b/.github/workflows/enforce-label.yml @@ -14,3 +14,14 @@ jobs: steps: - name: enforce-triage-label uses: jupyterlab/maintainer-tools/.github/actions/enforce-label@v1 + + # GitHub CLI api +# https://cli.github.com/manual/gh_api + +gh api \ + -H "Accept: application/vnd.github+json" \ + -H "X-GitHub-Api-Version: 2022-11-28" \ + + + + /issues From 81c7a34cdbf9a06bfa1a72923e8448a1f416d11b Mon Sep 17 00:00:00 2001 From: Colleen Pridemore <4281084+colleenpridemore@users.noreply.github.com> Date: Mon, 29 Apr 2024 12:12:12 +0000 Subject: [PATCH 2/2] patch found in docs didn't work. Deleted --- .github/workflows/enforce-label.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/enforce-label.yml b/.github/workflows/enforce-label.yml index 958737e014..49c7110dc8 100644 --- a/.github/workflows/enforce-label.yml +++ b/.github/workflows/enforce-label.yml @@ -15,13 +15,9 @@ jobs: - name: enforce-triage-label uses: jupyterlab/maintainer-tools/.github/actions/enforce-label@v1 - # GitHub CLI api -# https://cli.github.com/manual/gh_api -gh api \ - -H "Accept: application/vnd.github+json" \ - -H "X-GitHub-Api-Version: 2022-11-28" \ + + - /issues