We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5996e43 commit c7bd0a9Copy full SHA for c7bd0a9
.github/workflows/prepublish.yml
@@ -7,13 +7,15 @@ name: Prepublication staging
7
on:
8
pull_request:
9
types: [labeled]
10
- branches:
11
- - release/*
12
- - hotfix/*
+ # Would filter by branch here, but GH Actions wrongly decides not to
+ # trigger the workflow if we do this.
13
14
jobs:
15
stage:
16
runs-on: ubuntu-latest
+ # Filtering by branch here instead. Credit due to @MiguelSavignano.
17
+ # https://github.com/devmasx/merge-branch/issues/11
18
+ if: contains(github.ref, 'refs/release/') || contains(github.ref, 'refs/hotfix/')
19
steps:
20
- uses: actions/checkout@v2
21
- name: Merge into prepublish
0 commit comments