Skip to content

Commit

Permalink
ci: Run CI on master and PRs (#87)
Browse files Browse the repository at this point in the history
This PR also enabled the CI to run on commits pushed to master.
Modified the running behavior on the PRs, to only limit the CI to
branches that are ready to be merged on master.

cc @dmitry-markin

Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
  • Loading branch information
lexnv authored Apr 24, 2024
1 parent f00f51e commit 5aafb80
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
name: CI

on:
push:
# Run jobs when commits are pushed to
# master or release-like branches:
branches:
- master
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
# Run jobs for any external PR that wants
# to merge to master, too:
branches:
- master

# Disable previous runs
concurrency:
Expand Down

0 comments on commit 5aafb80

Please sign in to comment.