aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorMiguel Jacq <mig@mig5.net>2022-12-15 09:48:15 +1100
committerMiguel Jacq <mig@mig5.net>2022-12-15 09:48:15 +1100
commitafa840836584f76c9d042c19a52c59c959fe9c36 (patch)
treef5dc43d3dc19096ca5073e073f01fbeaeb1e58fc /.github
parenta7eff6c9995305ecd0867669d4fe9e9c11c96dbe (diff)
downloadonionshare-afa840836584f76c9d042c19a52c59c959fe9c36.tar.gz
onionshare-afa840836584f76c9d042c19a52c59c959fe9c36.zip
Try and make tests run on pull requests. Update branch names on CodeQL analysis
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/codeql-analysis.yml9
-rw-r--r--.github/workflows/tests.yml8
2 files changed, 12 insertions, 5 deletions
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index 2285b1fc..ed1d9fcb 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -13,12 +13,13 @@ name: "CodeQL"
on:
push:
- branches: [ develop, stable ]
+ branches:
+ - main
pull_request:
- # The branches below must be a subset of the branches above
- branches: [ develop ]
+ branches:
+ - main
schedule:
- - cron: '22 11 * * 5'
+ - cron: '22 11 * * 5'
jobs:
analyze:
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 68ea4644..78612a6a 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -1,6 +1,12 @@
name: Run Tests
run-name: Run tests
-on: [push]
+on:
+ push:
+ branches:
+ - main
+ pull_request:
+ branches:
+ - main
jobs:
test-cli: