Explorar o código

check pre-commit on every branch

Rodrigo Perez-Vicente %!s(int64=2) %!d(string=hai) anos
pai
achega
cdd5cd69d9
Modificáronse 1 ficheiros con 1 adicións e 4 borrados
  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