From 35f7b24c0d96eb0c2ae60f082a61e0b7f8c7eb0d Mon Sep 17 00:00:00 2001 From: Dai MIKURUBE Date: Thu, 19 Dec 2024 15:37:04 +0900 Subject: [PATCH] Use personal access token --- .github/workflows/audit.yml | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index 5f8b0be..896041e 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -1,18 +1,5 @@ name: Audit on: [ pull_request, push ] -permissions: - actions: read - checks: read - contents: read - deployments: read - issues: read - discussions: read - packages: read - pages: read - pull-requests: read - repository-projects: read - security-events: read - statuses: read jobs: audit: runs-on: ubuntu-latest @@ -30,4 +17,4 @@ jobs: - name: Audit run: bundle exec ruby ./audit.rb env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}