Skip to content

Commit 0a0fb8d

Browse files
committed
chore: synced local '.github/' with remote 'general/.github/'
1 parent 05f46e1 commit 0a0fb8d

2 files changed

Lines changed: 31 additions & 4 deletions

File tree

.github/workflows/action-super-linter.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ jobs:
2727
- name: Checkout code
2828
uses: actions/checkout@v6
2929
with:
30-
# Full clone required so super-linter can resolve GITHUB_BEFORE_SHA.
30+
# super-linter needs the full git history to get the
31+
# list of files that changed across commits
3132
fetch-depth: 0
32-
fetch-tags: false
3333
persist-credentials: false
3434

3535
- name: Install Prettier plugins (for summary formatting)
@@ -41,15 +41,13 @@ jobs:
4141
env:
4242
# To report GitHub Actions status checks
4343
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
44-
DEFAULT_BRANCH: ${{ github.ref_name }}
4544
VALIDATE_BIOME_FORMAT: false
4645
VALIDATE_BIOME_LINT: false
4746
VALIDATE_GITHUB_ACTIONS_ZIZMOR: false
4847
VALIDATE_JSCPD: false
4948
VALIDATE_JSON_PRETTIER: false
5049
VALIDATE_MARKDOWN_PRETTIER: false
5150
VALIDATE_NATURAL_LANGUAGE: false
52-
VALIDATE_PYTHON_RUFF_FORMAT: false
5351
VALIDATE_SHELL_SHFMT: false
5452
VALIDATE_TRIVY: false
5553
VALIDATE_YAML_PRETTIER: false
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Update copyright year(s) in license file
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: "0 3 1 1 *" # 03:00 AM on January 1
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
update-license-year:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v6
17+
with:
18+
fetch-depth: 0
19+
persist-credentials: false
20+
- name: Action Update License Year
21+
uses: FantasticFiasco/action-update-license-year@v3
22+
with:
23+
token: ${{ secrets.GITHUB_TOKEN }}
24+
path: LICENSE.md
25+
- name: Merge pull request
26+
env:
27+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28+
run: |
29+
gh pr merge --merge --delete-branch

0 commit comments

Comments
 (0)