Commit 81289a7 1 parent 89b09b3 commit 81289a7 Copy full SHA for 81289a7
File tree 1 file changed +17
-0
lines changed
1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,11 @@ name: Daily Production Release
2
2
3
3
on :
4
4
workflow_dispatch :
5
+ inputs :
6
+ override_code_freeze :
7
+ type : boolean
8
+ description : " Override code freeze and create production tag"
9
+ default : false
5
10
schedule :
6
11
- cron : 0 16 * * 1-5
7
12
15
20
DSVA_SCHEDULE_ENABLED : true
16
21
17
22
jobs :
23
+ holiday-checker :
24
+ runs-on : ubuntu-latest
25
+ outputs :
26
+ is_holiday : ${{ steps.holiday-check.outputs.is_holiday }}
27
+ steps :
28
+ - name : Check if today is a holiday
29
+ id : holiday-check
30
+ uses : department-of-veterans-affairs/vsp-github-actions/holiday-checker@main
18
31
create-release :
19
32
name : Create Release
33
+ needs : holiday-checker
20
34
runs-on : ubuntu-latest
35
+ # Do not run the workflow during VA holidays unless we explicitly override it.
36
+ if : >
37
+ (needs.holiday-checker.outputs.is_holiday == 'false' || (inputs && inputs.override_code_freeze))
21
38
outputs :
22
39
RELEASE_NAME : ${{ steps.export-release-name.outputs.RELEASE_NAME }}
23
40
You can’t perform that action at this time.
0 commit comments