diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index 79cfdd83cd..c731940ee3 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -19,7 +19,6 @@ jobs: - name: Checkout Master uses: actions/checkout@v3 with: - token: ${{ secrets.BOT_TOKEN }} ref: ${{ vars.CHANGELOG_BRANCH }} - name: Setup Git diff --git a/.github/workflows/close-master-pr.yml b/.github/workflows/close-master-pr.yml index 63a618cfdf..4ea39bb2de 100644 --- a/.github/workflows/close-master-pr.yml +++ b/.github/workflows/close-master-pr.yml @@ -11,7 +11,6 @@ jobs: steps: - uses: superbrothers/close-pull-request@v3 with: - github_token: ${{ secrets.BOT_TOKEN }} comment: "Благодарим вас за вклад в наш репозиторий. К сожалению, похоже, что вы отправили ПР из master ветки. Мы рекомендуем вам следовать [документации](https://docs.spacestation14.com/en/general-development/setup/git-for-the-ss14-developer.html). \n\n Вы можете перенести свою текущую работу из основной ветки в другую ветку с помощью [создания новой](https://git-scm.com/docs/git-branch) и [очистки](https://git-scm.com/docs/git-reset) master ветки." # If you prefer to just comment on the pr and not close it, uncomment the bellow and comment the above diff --git a/.github/workflows/labeler-needsreview.yml b/.github/workflows/labeler-needsreview.yml index caa0140889..75d27643bf 100644 --- a/.github/workflows/labeler-needsreview.yml +++ b/.github/workflows/labeler-needsreview.yml @@ -11,8 +11,6 @@ jobs: - uses: actions-ecosystem/action-add-labels@v1 with: labels: "Статус: Требуется одобрение" - repo-token: "${{ secrets.BOT_TOKEN }}" - uses: actions-ecosystem/action-remove-labels@v1 with: labels: "Статус: Ожидание изменений" - repo-token: "${{ secrets.BOT_TOKEN }}" diff --git a/.github/workflows/labeler-pr.yml b/.github/workflows/labeler-pr.yml index 7197eec0bf..cd56f345da 100644 --- a/.github/workflows/labeler-pr.yml +++ b/.github/workflows/labeler-pr.yml @@ -10,4 +10,4 @@ jobs: steps: - uses: actions/labeler@v3 with: - repo-token: "${{ secrets.BOT_TOKEN }}" + repo-token: "${{ secrets.GITHUB_TOKEN }}" diff --git a/.github/workflows/rsi-diff.yml b/.github/workflows/rsi-diff.yml index 2b65b3b439..5e9a5a2a8e 100644 --- a/.github/workflows/rsi-diff.yml +++ b/.github/workflows/rsi-diff.yml @@ -44,7 +44,6 @@ jobs: uses: peter-evans/create-or-update-comment@v1 with: issue-number: ${{ github.event.number }} - token: ${{ secrets.BOT_TOKEN }} body: | ${{ steps.diff.outputs.summary-details }} @@ -53,7 +52,6 @@ jobs: uses: peter-evans/create-or-update-comment@v1 with: comment-id: ${{ steps.fc.outputs.comment-id }} - token: ${{ secrets.BOT_TOKEN }} edit-mode: replace body: | ${{ steps.diff.outputs.summary-details }} @@ -63,7 +61,6 @@ jobs: uses: peter-evans/create-or-update-comment@v1 with: comment-id: ${{ steps.fc.outputs.comment-id }} - token: ${{ secrets.BOT_TOKEN }} edit-mode: append body: | Edit: diff updated after ${{ github.event.pull_request.head.sha }}