Skip to content

Commit 7caddfc

Browse files
authored
chore(copier): update from template
1 parent eb6e300 commit 7caddfc

3 files changed

Lines changed: 26 additions & 13 deletions

File tree

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1+
# -*- mode: yaml -*-
12
# This file is @generated by <https://github.com/liblaf/copier-shared>.
23
# DO NOT EDIT!
3-
# -*- mode: yaml -*-
44
# prettier-ignore
5-
_commit: 20d5cab
5+
_commit: 01a3d3d
66
_src_path: gh:liblaf/copier-share
77
author_email: 30631553+liblaf@users.noreply.github.com
88
author_name: liblaf
9+
copyright_holder: liblaf
910
github_repo: copier-python
1011
github_user: liblaf
1112
license: MIT

.github/workflows/mega-linter.yaml

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,30 @@ name: MegaLinter
88

99
on:
1010
push:
11+
branches-ignore:
12+
- assets**
13+
- gh-pages
1114
pull_request:
1215
workflow_dispatch:
1316

1417
jobs:
18+
delete-cancelled-runs:
19+
name: Delete Cancelled Runs
20+
permissions:
21+
actions: write
22+
runs-on: "ubuntu-latest"
23+
steps:
24+
- uses: MercuryTechnologies/delete-cancelled-runs@1.0.0
25+
with:
26+
workflow-file: mega-linter.yaml
27+
github-token: ${{ secrets.GH_PAT || github.token }}
28+
1529
mega-linter:
1630
name: MegaLinter
1731
permissions:
1832
contents: write # commit fix
1933
issues: write # ref: <https://megalinter.io/latest/reporters/GitHubCommentReporter/>
2034
pull-requests: write # ref: <https://megalinter.io/latest/reporters/GitHubCommentReporter/>
21-
statuses: write # ref: <https://megalinter.io/latest/reporters/GitHubStatusReporter/>
2235
runs-on: ubuntu-latest
2336
concurrency:
2437
group: ${{ github.workflow }}-${{ github.ref }}-mega-linter
@@ -33,18 +46,17 @@ jobs:
3346
- name: Checkout
3447
uses: actions/checkout@v4
3548
with:
49+
ref: ${{ github.head_ref || github.ref }}
3650
token: ${{ steps.auth.outputs.token }}
3751
- name: MegaLinter
3852
uses: liblaf/actions/mega-linter@main
3953
with:
4054
token: ${{ steps.auth.outputs.token }}
4155
- name: Remove MegaLinter Reports
4256
run: sudo rm --force --recursive "mega-linter.log" "megalinter-reports/"
43-
- name: Git Add
44-
run: git add --update
4557
- name: Commit
46-
uses: dsanders11/github-app-commit-action@v1
58+
uses: liblaf/actions/commit@main
4759
with:
48-
fail-on-no-changes: false
49-
message: "chore(mega-linter): apply linters fixes"
60+
add-options: --verbose --update
61+
message: "chore(mega-linter): apply linter fixes"
5062
token: ${{ steps.auth.outputs.token }}

.github/workflows/pr.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ on:
99
workflow_dispatch:
1010

1111
jobs:
12-
merge:
13-
name: Merge
12+
auto-merge:
13+
name: Auto-Merge
1414
permissions:
1515
pull-requests: write
1616
runs-on: ubuntu-latest
1717
concurrency:
18-
group: ${{ github.workflow }}-merge
18+
group: ${{ github.workflow }}-auto-merge
1919
cancel-in-progress: true
2020
steps:
2121
- id: auth
@@ -24,13 +24,13 @@ jobs:
2424
with:
2525
app-id: ${{ secrets.GH_APP_ID }}
2626
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
27-
- name: Merge Release Please
27+
- name: Auto-Merge Release Please
2828
uses: liblaf/actions/pr-label@main
2929
with:
3030
add-label: automerge
3131
label: "autorelease: pending"
3232
token: ${{ steps.auth.outputs.token }}
33-
- name: Merge Renovate
33+
- name: Auto-Merge Renovate
3434
uses: liblaf/actions/pr-label@main
3535
with:
3636
add-label: automerge

0 commit comments

Comments
 (0)