From 08b2cd24129e16e6073cb5746bbe40ee724bf2fb Mon Sep 17 00:00:00 2001 From: Swiftb0y <12380386+Swiftb0y@users.noreply.github.com> Date: Thu, 23 Mar 2023 19:32:16 +0100 Subject: [PATCH 1/2] fix(ci): remove workaround from labeler which broke validation --- .github/workflows/labeler.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index d0849a0da4c..a0363053dae 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -19,8 +19,4 @@ jobs: - uses: actions/labeler@main with: repo-token: "${{ secrets.GITHUB_TOKEN }}" - - # This works around bug https://github.com/actions/labeler/issues/104. - # The workaround was proposed here: - # https://github.com/wesnoth/wesnoth/commit/958c82d0867568057caaf58356502ec8c87d8366 - sync-labels: "" + sync-labels: false From c473e33a95d56b9aa0053bd6b4a9acf5f9e455ff Mon Sep 17 00:00:00 2001 From: Swiftb0y <12380386+Swiftb0y@users.noreply.github.com> Date: Sat, 25 Mar 2023 19:49:35 +0100 Subject: [PATCH 2/2] fix(ci): pin actions/labeler commit instead of using `main` --- .github/workflows/labeler.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index a0363053dae..2b0f8b69e9e 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -16,7 +16,9 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/labeler@main + # version between v4.0.3 and the one after which has not yet been tagged + # at the time of writing + - uses: actions/labeler@7012d51fe062f0b1e26e224a3c9fb52598ee3302 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" sync-labels: false