diff options
author | Miguel Jacq <mig@mig5.net> | 2022-12-15 09:48:15 +1100 |
---|---|---|
committer | Miguel Jacq <mig@mig5.net> | 2022-12-15 09:48:15 +1100 |
commit | afa840836584f76c9d042c19a52c59c959fe9c36 (patch) | |
tree | f5dc43d3dc19096ca5073e073f01fbeaeb1e58fc | |
parent | a7eff6c9995305ecd0867669d4fe9e9c11c96dbe (diff) | |
download | onionshare-afa840836584f76c9d042c19a52c59c959fe9c36.tar.gz onionshare-afa840836584f76c9d042c19a52c59c959fe9c36.zip |
Try and make tests run on pull requests. Update branch names on CodeQL analysis
-rw-r--r-- | .github/workflows/codeql-analysis.yml | 9 | ||||
-rw-r--r-- | .github/workflows/tests.yml | 8 |
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: |