From 669030ec08042e41d57f74adb4abb836c387930a Mon Sep 17 00:00:00 2001 From: dundargoc <33953936+dundargoc@users.noreply.github.com> Date: Sat, 22 Apr 2023 13:50:27 +0200 Subject: ci: remove team reviewers Team reviewers is a nice feature that comes with a severe drawback: it makes testing the workflows incredibly difficult as they won't work without a similar token by the tester. --- .github/workflows/add-reviewers.yml | 1 - .github/workflows/labeler.yml | 1 - .github/workflows/remove-reviewers.yml | 1 - 3 files changed, 3 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/add-reviewers.yml b/.github/workflows/add-reviewers.yml index f1abab5c53..6c8c7ff8ed 100644 --- a/.github/workflows/add-reviewers.yml +++ b/.github/workflows/add-reviewers.yml @@ -13,7 +13,6 @@ jobs: - name: 'Request reviewers' uses: actions/github-script@v6 with: - github-token: ${{ secrets.TEAM_REVIEW }} script: | const script = require('./.github/scripts/reviews.js') await script({github, context}) diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index bf1d148be7..a825aeaab1 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -43,7 +43,6 @@ jobs: - name: 'Request reviewers' uses: actions/github-script@v6 with: - github-token: ${{ secrets.TEAM_REVIEW }} script: | const script = require('./.github/scripts/reviews.js') await script({github, context}) diff --git a/.github/workflows/remove-reviewers.yml b/.github/workflows/remove-reviewers.yml index 7ab3ef568c..f707f79737 100644 --- a/.github/workflows/remove-reviewers.yml +++ b/.github/workflows/remove-reviewers.yml @@ -12,7 +12,6 @@ jobs: - name: 'Remove reviewers' uses: actions/github-script@v6 with: - github-token: ${{ secrets.TEAM_REVIEW }} script: | const script = require('./.github/scripts/remove-reviewers.js') await script({github, context}) -- cgit