From 3c233d5966ab48237664c78cd33cd30456d3a29d Mon Sep 17 00:00:00 2001 From: James McKinney <26463+jpmckinney@users.noreply.github.com> Date: Tue, 24 Oct 2023 22:12:01 -0400 Subject: [PATCH] ci: Allow pre-commit to autofix files (bis) --- .github/workflows/lint.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 9746ddc1..b7b1b5b3 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -10,6 +10,8 @@ jobs: contents: write steps: - uses: actions/checkout@v4 + with: + token: ${{ secrets.PAT }} - uses: actions/setup-python@v4 with: python-version: '3.11' @@ -24,6 +26,7 @@ jobs: - uses: stefanzweifel/git-auto-commit-action@v5 with: commit_message: '[github-actions] pre-commit autoupdate' + push_options: --force - shell: bash run: curl -s -S --retry 3 $BASEDIR/tests/install.sh | bash - - shell: bash