Skip to content

Commit

Permalink
optimize(workflow): not run on bot commits
Browse files Browse the repository at this point in the history
  • Loading branch information
fumiama committed Jul 3, 2024
1 parent 6e7a261 commit d8c24b6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/checksum.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: Calculate and Sync SHA256
on:
push:
branches:
- main
- dev
workflow_dispatch:

jobs:
checksum:
runs-on: ubuntu-latest
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/push-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ on:
- dev

jobs:
push_format:
push-format:
runs-on: ubuntu-latest

if: github.actor != 'github-actions[bot]'

permissions:
contents: write
pull-requests: write
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/unitest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ on: [ push, pull_request ]
jobs:
build:
runs-on: ${{ matrix.os }}

if: github.actor != 'github-actions[bot]'

strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
Expand Down

0 comments on commit d8c24b6

Please sign in to comment.