Skip to content

Commit

Permalink
[improve][ci] Enable Pulsar CI for branches, cancel duplicates for Co…
Browse files Browse the repository at this point in the history
…deQL
  • Loading branch information
lhotari committed Feb 27, 2024
1 parent 3013496 commit 4aeee34
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,15 @@ on:
branches: [ 'master' ]
schedule:
- cron: '27 21 * * 4'
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true

jobs:
analyze:
if: ${{ (github.event_name != 'schedule' || github.repository != 'apache/pulsar') && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.owner.login == 'apache') }}
name: Analyze
runs-on: 'ubuntu-latest'
timeout-minutes: 360
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pulsar-ci-flaky.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ on:
pull_request:
branches:
- master
- branch-*
- pulsar-*
schedule:
# scheduled job with JDK 17
- cron: '0 12 * * *'
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pulsar-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ on:
pull_request:
branches:
- master
- branch-*
- pulsar-*
schedule:
# scheduled job with JDK 17
- cron: '0 12 * * *'
Expand Down

0 comments on commit 4aeee34

Please sign in to comment.