From bfe974ea9f8477532f37782b79f06809bbb27b57 Mon Sep 17 00:00:00 2001 From: Ftps <63702646+Tps-F@users.noreply.github.com> Date: Mon, 17 Apr 2023 11:49:57 +0900 Subject: [PATCH] Fix action when PR send (#83) --- .github/workflows/pull_format.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) 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: