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.
2 parents 402745a + 6209c52 commit fa5e38dCopy full SHA for fa5e38d
.github/workflows/planned-maintenance.yml
@@ -0,0 +1,20 @@
1
+name: Planned maintenance
2
+
3
+on: pull_request
4
5
+jobs:
6
+ check:
7
+ runs-on: ubuntu-latest
8
+ name: Is this branch allowed at this time?
9
+ steps:
10
+ - name: Get maintenance window
11
+ id: settings
12
+ uses: sleepdiary/planned-maintenance-times@main
13
+ - name: Is now a good time?
14
+ id: check
15
+ uses: andrew-sayers/planned-maintenance@v1.0.0
16
+ with:
17
+ branch-regexp: ${{ steps.settings.outputs.branch-regexp }}
18
+ maintenance-window-start: ${{ steps.settings.outputs.maintenance-window-start }}
19
+ maintenance-window-end: ${{ steps.settings.outputs.maintenance-window-end }}
20
+ maintenance-url: ${{ steps.settings.outputs.maintenance-url }}
0 commit comments