Skip to content

Commit

Permalink
ci: snapshot during test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tekumara committed Mar 11, 2024
1 parent dc93e10 commit ca7eab6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 40 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,11 @@ jobs:
python-version: "3.11"
- name: Test
run: make -B test
- name: Update snapshot
run: |
git config user.name snapshot
git config user.email snapshot@users.noreply.github.com
git add .
if git commit -m "chore: update snapshot"; then
git push
fi
4 changes: 2 additions & 2 deletions .github/workflows/pre-commit-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:
python-version: "3.11"
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
git config user.name pre-commit-update
git config user.email pre-commit-update@users.noreply.github.com
- name: make test
run: make test
- name: pre-commit autoupdate
Expand Down
38 changes: 0 additions & 38 deletions .github/workflows/snapshot.yml

This file was deleted.

0 comments on commit ca7eab6

Please sign in to comment.