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 1a6f354 commit 95e11b9Copy full SHA for 95e11b9
.github/workflows/release-nightly.yml
@@ -4,9 +4,17 @@ on:
4
schedule:
5
- cron: "0 0 * * *" # every day at midnight UTC
6
workflow_dispatch: # allow manual trigger
7
+ pull_request: # When a PR had the "publish-nightly" label
8
+ types: [closed]
9
+ branches: [main]
10
11
jobs:
12
nightly:
13
+ if: |
14
+ github.event_name != 'pull_request' ||
15
+ (github.event.pull_request.merged == true &&
16
+ contains(github.event.pull_request.labels.*.name, 'publish-nightly'))
17
+
18
runs-on: ubuntu-latest
19
steps:
20
- name: Checkout Repository
0 commit comments