diff --git a/.github/workflows/pull_format.yml b/.github/workflows/pull_format.yml index 1a3f9ca..60f6b4d 100644 --- a/.github/workflows/pull_format.yml +++ b/.github/workflows/pull_format.yml @@ -2,19 +2,21 @@ name: pull format on: [pull_request] +permissions: + contents: write jobs: pull_format: - permissions: - actions: write - checks: write - contents: write runs-on: ubuntu-latest continue-on-error: true steps: - - uses: actions/checkout@v3 + - name: checkout + continue-on-error: true + uses: actions/checkout@v3 with: ref: ${{ github.head_ref }} - + fetch-depth: 0 + + - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: