Skip to content

Commit 3d00ece

Browse files
authored
chore(copier): update from template
1 parent 571fa30 commit 3d00ece

File tree

5 files changed

+8
-68
lines changed

5 files changed

+8
-68
lines changed

.config/copier/.copier-answers.python.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This file is @generated by <https://github.com/liblaf/copier-python>.
22
# DO NOT EDIT!
33
# prettier-ignore
4-
_commit: c22d7f1
4+
_commit: be5019d
55
_src_path: gh:liblaf/copier-python
66
answers_file_shared: .config/copier/.copier-answers.shared.yaml
77
namespace: ''
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is @generated by <https://github.com/liblaf/copier-release>.
22
# DO NOT EDIT!
33
# prettier-ignore
4-
_commit: 55dfc73
4+
_commit: 81b76e0
55
_src_path: gh:liblaf/copier-release
66
release_type: python

.config/copier/.copier-answers.shared.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This file is @generated by <https://github.com/liblaf/copier-shared>.
22
# DO NOT EDIT!
33
# prettier-ignore
4-
_commit: 610df18
4+
_commit: 35a4954
55
_src_path: gh:liblaf/copier-shared
66
author_email: [email protected]
77
author_name: liblaf

.github/workflows/mega-linter.yaml

Lines changed: 3 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -8,73 +8,13 @@ name: MegaLinter
88

99
on:
1010
push:
11-
pull_request:
1211
workflow_dispatch:
1312

1413
jobs:
15-
skip-duplicate:
16-
name: Skip Duplicate
17-
permissions:
18-
actions: write
19-
runs-on: ubuntu-latest
20-
outputs:
21-
should-skip: ${{ steps.skip-duplicate.outputs.should-skip }}
22-
steps:
23-
- id: skip-duplicate
24-
name: Skip Duplicate
25-
uses: liblaf/actions/skip-duplicate@dist
26-
with:
27-
cancel-others: true
28-
2914
mega-linter:
30-
name: MegaLinter
15+
name: M
3116
permissions:
3217
contents: write
33-
issues: write
3418
pull-requests: write
35-
needs:
36-
- skip-duplicate
37-
if: needs.skip-duplicate.outputs.should-skip != 'true'
38-
runs-on: ubuntu-latest
39-
steps:
40-
- name: Checkout
41-
uses: actions/checkout@v5
42-
with:
43-
ref: ${{ github.head_ref || github.ref }}
44-
- id: lint
45-
name: MegaLinter
46-
uses: liblaf/actions/mega-linter@dist
47-
- if: success() || failure()
48-
name: Upload Reports
49-
uses: actions/upload-artifact@v4
50-
with:
51-
name: mega-linter-reports
52-
path: |-
53-
mega-linter.log
54-
megalinter-reports
55-
include-hidden-files: true
56-
- if: success() || failure()
57-
name: Remove MegaLinter Reports
58-
run: |-
59-
cp --target-directory='${{ runner.temp }}' --verbose 'megalinter-reports/megalinter-report.md'
60-
sudo rm --force --recursive 'mega-linter.log' 'megalinter-reports'
61-
- if: steps.lint.outputs.has-updated-sources > 0 && github.ref == 'refs/heads/main'
62-
name: Create PR with Applied Fixes
63-
uses: peter-evans/create-pull-request@v7
64-
with:
65-
commit-message: "chore(mega-linter): apply linters automatic fixes"
66-
branch: mega-linter-fix/${{ github.ref_name }}
67-
sign-commits: true
68-
title: "chore(mega-linter): apply linters automatic fixes"
69-
body-path: ${{ runner.temp }}/megalinter-report.md
70-
labels: |-
71-
autofix
72-
automerge
73-
assignees: ${{ github.repository_owner }}
74-
reviewers: ${{ github.repository_owner }}
75-
- if: steps.lint.outputs.has-updated-sources > 0 && github.ref != 'refs/heads/main'
76-
name: Commit and Push Applied Linter Fixes
77-
uses: liblaf/actions/commit@dist
78-
with:
79-
add-options: --verbose --update
80-
message: "chore(mega-linter): apply linters automatic fixes"
19+
uses: liblaf/copier-shared/.github/workflows/callable-mega-linter.yaml@main
20+
secrets: inherit

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ ci:
1919

2020
repos:
2121
- repo: https://github.com/astral-sh/ruff-pre-commit
22-
rev: v0.14.1
22+
rev: v0.14.2
2323
hooks:
2424
- id: ruff-check
2525
args:
2626
- --fix
2727
- id: ruff-format
2828
- repo: https://github.com/biomejs/pre-commit
29-
rev: v2.2.6
29+
rev: v2.3.1
3030
hooks:
3131
- id: biome-check
3232
exclude: \.jsonc?$

0 commit comments

Comments
 (0)