소스 검색

check pre-commit on every branch

Rodrigo Perez-Vicente 3 년 전
부모
커밋
cdd5cd69d9
1개의 변경된 파일1개의 추가작업 그리고 4개의 파일을 삭제
  1. 1 4
      .github/workflows/pre-commit.yml

+ 1 - 4
.github/workflows/pre-commit.yml

@@ -1,10 +1,7 @@
 # https://pre-commit.com
 # This GitHub Action assumes that the repo contains a valid .pre-commit-config.yaml file.
 name: pre-commit
-on:
-  pull_request:
-  push:
-    branches: [master]
+on: [pull_request, push]
 jobs:
   pre-commit:
     runs-on: ubuntu-latest