Skip to content

Commit

Permalink
ci: restrict branch names for build-containers workflow (star-bnl#127)
Browse files Browse the repository at this point in the history
This prevents the workflow from failing on pr/ branches pushed
directly into the main repo. Feature branches could temporarily relax
this constraint as needed.

Alternatively we could set `on.push.branches-ignore` to `'pr/*'`.

(cherry picked from commit 5d41b66)
  • Loading branch information
veprbl authored and plexoos committed Dec 10, 2021
1 parent f80eaf0 commit 834da5b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build-containers.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: Build Containers

on: [push]
on:
push:
branches:
- main
- 'SL*'
tags:
- '*'

jobs:
ROOT5:
Expand Down

0 comments on commit 834da5b

Please sign in to comment.