From 0ff3d19c67fd5ece7fa045ac1d477e20db39a47c Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Tue, 11 Mar 2025 13:57:59 +0100 Subject: [PATCH 1/2] "Core Team" is a team of matrix-org. Use team "Vector Core" instead. --- .github/workflows/pull_request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 42537c54b4..5aea0a43b1 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -35,7 +35,7 @@ jobs: with: username: ${{ github.event.pull_request.user.login }} organization: element-hq - team: Core Team + team: Vector Core GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }} - name: Add label if: steps.teams.outputs.isTeamMember == 'false' From f2695f61d611e84fbca54c100cbb92da55d05b61 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Tue, 11 Mar 2025 17:10:14 +0100 Subject: [PATCH 2/2] Use ELEMENT_BOT_TOKEN_READ_ORG --- .github/workflows/pull_request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 5aea0a43b1..72a4dfe0a7 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -36,7 +36,7 @@ jobs: username: ${{ github.event.pull_request.user.login }} organization: element-hq team: Vector Core - GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }} + GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN_READ_ORG }} - name: Add label if: steps.teams.outputs.isTeamMember == 'false' uses: actions/github-script@v7