Skip to content

Commit

Permalink
Adjust CI config so it runs in all branches
Browse files Browse the repository at this point in the history
Before this change, CI would only trigger on commits to master branch.
When contributor creates a branch that would later become a PR, they do not want to use master branch.
Instead, they want to use feature-branch.
But before this commit, CI would not run in non-master branch at all, so contributor is unable to test their changes before creating a PR to upstream repository.

Signed-off-by: Marat Radchenko <[email protected]>
  • Loading branch information
slonopotamus authored and thaJeztah committed Sep 25, 2024
1 parent 6028c57 commit 57eb8d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
branches:
- master

jobs:

Expand Down

0 comments on commit 57eb8d8

Please sign in to comment.