diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 8991e90..676c894 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -8,6 +8,8 @@ on: jobs: format: runs-on: ubuntu-latest + permissions: + contents: write steps: - uses: actions/checkout@v3 with: @@ -27,3 +29,5 @@ jobs: with: commit_message: "[ci] format" branch: ${{ github.head_ref }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}