Skip to content

Commit

Permalink
Also run CI an the main/master branch
Browse files Browse the repository at this point in the history
When merging a passing PR which was not on top of the last commit of the
main branch, we may break CI.  This make sure a CI run is triggered when
the main branch is updated.  As GitHub kindly display the status of the
last commit on a project page, this allow to quickly see if a module CI
works as intended or not.

The main branch of most of our modules is `master` but a few use the
more inclusive `main` name, so enable ci for both.
  • Loading branch information
smortex committed Jan 9, 2024
1 parent 61c119d commit 2195a16
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion moduleroot/.github/workflows/ci.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@

name: CI

on: pull_request
on:
pull_request: {}
push:
branches:
- main
- master

concurrency:
group: ${{ github.ref_name }}
Expand Down

0 comments on commit 2195a16

Please sign in to comment.