Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,33 @@ jobs:

pre-commit:
runs-on: ubuntu-latest
if: always()
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- uses: pre-commit/[email protected]
with:
extra_args: '--to-ref=HEAD --from-ref=${{ github.base_ref }}'
- name: Send automated commit
run: |
if ! git diff --quiet; then
git commit \
--author="aspect-marvin[bot] <[email protected]>" \
--all \
--message="Format"

for backoff in 5 10 15 20 25 30 runout; do
if ! git push; then
sleep $backoff
elif [ "$backoff" = "runout" ]; then
echo "ERROR: Failed to push commits!" >&2
exit 1
else
break
fi
done
fi

verify-bcr-patches:
runs-on: ubuntu-latest
Expand Down
Loading