From feb1a463c44f8c4f4e33f25db61cdaae01f6c54a Mon Sep 17 00:00:00 2001 From: William Harrison Date: Wed, 24 Apr 2024 13:03:29 +0800 Subject: [PATCH] revert #13578 --- .github/workflows/checks.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index bb91b5d70..be5f73e48 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -5,7 +5,6 @@ on: [pull_request, workflow_dispatch] jobs: validation: runs-on: ubuntu-latest - permissions: write-all steps: - uses: actions/checkout@v4 with: @@ -16,6 +15,4 @@ jobs: bun-version: latest - run: bun install - name: Run tests - run: bun test || (echo 'Tests failed, closing pull request.' && gh pr close https://github.com/${{ github.repository }}/pull/${{ github.event.number }} --comment "Due to high amounts of pull requests and not enough resources to review all, we are automatically closing pull requests that fail checks. Please read the documention (https://www.is-a.dev/docs) to ensure your file format is correct. If you still are encountering issues, please join our [Discord server](https://discord.gg/is-a-dev-830872854677422150) and open a help thread." && exit 1) - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: bun test