diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 16e4742b5..03406ab25 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -2,10 +2,8 @@ name: "CodeQL" on: push: - branches: [ 'master' ] pull_request: - # The branches below must be a subset of the branches above - branches: [ 'master' ] + types: [ opened, reopened, synchronize ] schedule: - cron: '6 13 * * 4' diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d733e7f35..5ac5c46ea 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -2,7 +2,6 @@ name: Lint on: push: - branches: [ $default-branch ] pull_request: types: [ opened, reopened, synchronize ]