diff options
author | Saptak Sengupta <saptak013@gmail.com> | 2022-12-15 11:38:08 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-15 11:38:08 +0530 |
commit | f43f16f1de15488dccfedf707cf2af7d1cce2bb0 (patch) | |
tree | fea6471aa991a42d296aa2fdcddebb159bb8b3d6 | |
parent | 57a83440da447f08f68037002c8c91727c68a580 (diff) | |
parent | afa840836584f76c9d042c19a52c59c959fe9c36 (diff) | |
download | onionshare-f43f16f1de15488dccfedf707cf2af7d1cce2bb0.tar.gz onionshare-f43f16f1de15488dccfedf707cf2af7d1cce2bb0.zip |
Merge pull request #1642 from mig5/run_tests_on_pull_request
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: |