Skip to content

Commit 34f8515

Browse files
committed
allow passing today to the action
1 parent a524a38 commit 34f8515

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ jobs:
6969
with:
7070
policy: policy.yaml
7171
environment-paths: ${{ matrix.env-paths }}
72+
today: 2024-02-04
7273
- name: detect outcome
7374
if: always()
7475
shell: bash -l {0}

action.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,18 @@ inputs:
55
policy:
66
description: >-
77
The path to the policy to follow
8-
required: True
8+
required: true
99
type: string
1010
environment-paths:
1111
description: >-
1212
The paths to the environment files
13-
required: True
13+
required: true
1414
type: list
15+
today:
16+
description: >-
17+
Time machine for testing
18+
required: false
19+
type: string
1520
outputs: {}
1621

1722
runs:

0 commit comments

Comments
 (0)