Merge pull request #1038 from lnbits/workflow-only-on-pr

make gh workflows only run on pull_request
This commit is contained in:
Arc 2022-10-06 17:49:25 +01:00 committed by GitHub
commit 5758608347
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 3 additions and 7 deletions

View File

@ -1,8 +1,6 @@
name: codeql name: codeql
on: on:
push:
branches: [main, ]
pull_request: pull_request:
branches: [main] branches: [main]
schedule: schedule:

View File

@ -1,8 +1,6 @@
name: formatting name: formatting
on: on:
push:
branches: [ main ]
pull_request: pull_request:
branches: [ main ] branches: [ main ]

View File

@ -1,6 +1,6 @@
name: mypy name: mypy
on: [push, pull_request] on: [pull_request]
jobs: jobs:
check: check:

View File

@ -1,6 +1,6 @@
name: regtest name: regtest
on: [push, pull_request] on: [pull_request]
jobs: jobs:
LndRestWallet: LndRestWallet:

View File

@ -1,6 +1,6 @@
name: tests name: tests
on: [push, pull_request] on: [pull_request]
jobs: jobs:
venv-sqlite: venv-sqlite: