diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5ec7063..eeaaf29 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,6 +9,8 @@ on: paths-ignore: - '**.md' workflow_dispatch: +permissions: + contents: write jobs: ci: runs-on: ubuntu-latest @@ -31,7 +33,7 @@ jobs: - name: Reset test release uses: actions/github-script@v8 with: - github-token: ${{ secrets.CI_GITHUB_TOKEN }} + github-token: ${{ secrets.GITHUB_TOKEN }} script: | let releaseId = ${{ matrix.release-id }}; @@ -47,7 +49,7 @@ jobs: owner: Particular repo: virus-scan-action tag: ${{ matrix.tag }} - github-access-token: ${{ secrets.CI_GITHUB_TOKEN }} + github-access-token: ${{ secrets.GITHUB_TOKEN }} slack-token: ${{ secrets.SLACK_TOKEN }} slack-channel: automation-testing - name: Check result