From a290fad1c9c3cd1fc0d01f52bd5ba18c015bbb32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Mond=C3=A9jar=20Rubio?= Date: Mon, 1 Apr 2024 09:34:33 +0200 Subject: [PATCH] Fix `get-labels` action usage (#10753) --- .github/workflows/add-labels-priority.yml | 3 +-- .github/workflows/autoclose-issues.yml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/add-labels-priority.yml b/.github/workflows/add-labels-priority.yml index 3818d2498..ebc0a68d7 100644 --- a/.github/workflows/add-labels-priority.yml +++ b/.github/workflows/add-labels-priority.yml @@ -36,8 +36,7 @@ jobs: uses: ./.github/actions/get-labels with: issue_number: ${{ github.event.pull_request.number }} - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + github-token: ${{ secrets.GITHUB_TOKEN }} - id: get-si-members name: Get simple-icons members diff --git a/.github/workflows/autoclose-issues.yml b/.github/workflows/autoclose-issues.yml index 38774595c..6d8b4e59c 100644 --- a/.github/workflows/autoclose-issues.yml +++ b/.github/workflows/autoclose-issues.yml @@ -31,8 +31,7 @@ jobs: uses: ./.github/actions/get-labels with: issue_number: ${{ github.event.issue.number }} - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + github-token: ${{ secrets.GITHUB_TOKEN }} # if the issue is labeled as a 'new icon' and it matches Java, we # - add a comment referring to the removal request