We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18acd35 commit 16a12e9Copy full SHA for 16a12e9
1 file changed
.github/workflows/update-license-year.yml
@@ -3,10 +3,6 @@ name: Update License Year
3
on:
4
schedule:
5
- cron: "0 3 1 1 *" # 03:00 AM on January 1
6
- push:
7
- branches:
8
- - main
9
- - master
10
11
permissions:
12
contents: write
@@ -20,10 +16,10 @@ jobs:
20
16
uses: actions/checkout@v2
21
17
with:
22
18
fetch-depth: 0
23
-
19
+
24
- name: Set Current year
25
run: "echo CURRENT=$(date +%Y) >> $GITHUB_ENV"
26
27
- name: Set Previous Year
28
run: "echo PREVIOUS=$(($CURRENT-1)) >> $GITHUB_ENV"
29
0 commit comments