Skip to content

Commit 16a12e9

Browse files
fix github workflow
1 parent 18acd35 commit 16a12e9

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

.github/workflows/update-license-year.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@ name: Update License Year
33
on:
44
schedule:
55
- cron: "0 3 1 1 *" # 03:00 AM on January 1
6-
push:
7-
branches:
8-
- main
9-
- master
106

117
permissions:
128
contents: write
@@ -20,10 +16,10 @@ jobs:
2016
uses: actions/checkout@v2
2117
with:
2218
fetch-depth: 0
23-
19+
2420
- name: Set Current year
2521
run: "echo CURRENT=$(date +%Y) >> $GITHUB_ENV"
26-
22+
2723
- name: Set Previous Year
2824
run: "echo PREVIOUS=$(($CURRENT-1)) >> $GITHUB_ENV"
2925

0 commit comments

Comments
 (0)