diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a365850..8d3e069 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -17,9 +17,10 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: - ref: ${{ github.event.pull_request.head.sha }} + repository: ${{ github.event.pull_request.head.repo.full_name }} + ref: ${{ github.event.pull_request.head.ref }} - name: Set up Python uses: actions/setup-python@v3 @@ -51,8 +52,6 @@ jobs: args: check --fix - name: Commit formatting changes - uses: EndBug/add-and-commit@v4 + uses: EndBug/add-and-commit@v9 with: message: "style: autoformatting" - env: - GITHUB_TOKEN: ${{ secrets.GH_PAT }}