diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index 6a99368e..7fc3450e 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -4,16 +4,15 @@ on: pull_request: types: [opened, synchronize, reopened] -permissions: - contents: read - statuses: write - jobs: style: runs-on: ubuntu-22.04 + permissions: + contents: read + statuses: write env: - GH_TOKEN: ${{ github.token }} + GH_TOKEN: ${{ github.token }} steps: - uses: actions/checkout@v4 with: @@ -35,8 +34,11 @@ jobs: typing: runs-on: ubuntu-22.04 + permissions: + contents: read + statuses: write env: - GH_TOKEN: ${{ github.token }} + GH_TOKEN: ${{ github.token }} steps: - uses: actions/setup-python@v5 with: