Skip to content

Commit c2a5d26

Browse files
author
XhmikosR
committed
Streamline actions, format, clean up dependabot.yml
Signed-off-by: XhmikosR <[email protected]>
1 parent 4f1587f commit c2a5d26

File tree

6 files changed

+29
-69
lines changed

6 files changed

+29
-69
lines changed

.github/dependabot.yml

Lines changed: 0 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -45,50 +45,3 @@ updates:
4545
patterns:
4646
- "*"
4747
target-branch: master
48-
49-
# As above, but for development-v6
50-
- package-ecosystem: npm
51-
directory: "/"
52-
schedule:
53-
interval: weekly
54-
day: saturday
55-
time: "10:00"
56-
target-branch: release/v6.0
57-
open-pull-requests-limit: 10
58-
versioning-strategy: increase
59-
reviewers:
60-
- "pi-hole/docs-maintainers"
61-
groups:
62-
npm-dependencies:
63-
patterns:
64-
- "*"
65-
- package-ecosystem: pip
66-
directory: "/"
67-
schedule:
68-
interval: weekly
69-
day: saturday
70-
time: "10:00"
71-
target-branch: release/v6.0
72-
open-pull-requests-limit: 10
73-
allow:
74-
- dependency-type: direct
75-
- dependency-type: indirect
76-
reviewers:
77-
- "pi-hole/docs-maintainers"
78-
groups:
79-
pip-dependencies:
80-
patterns:
81-
- "*"
82-
- package-ecosystem: "github-actions"
83-
directory: "/"
84-
schedule:
85-
interval: weekly
86-
day: saturday
87-
time: "10:00"
88-
reviewers:
89-
- "pi-hole/docs-maintainers"
90-
groups:
91-
github_action-dependencies:
92-
patterns:
93-
- "*"
94-
target-branch: release/v6.0

.github/workflows/calibreapp-image-actions.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: Compress Images
33
on:
44
pull_request:
55
paths:
6-
- '**.jpg'
7-
- '**.jpeg'
8-
- '**.png'
9-
- '**.webp'
6+
- "**.jpg"
7+
- "**.jpeg"
8+
- "**.png"
9+
- "**.webp"
1010

1111
jobs:
1212
build:
@@ -15,8 +15,10 @@ jobs:
1515
name: calibreapp/image-actions
1616
runs-on: ubuntu-latest
1717
steps:
18-
- name: Checkout Repo
18+
- name: Clone repository
1919
uses: actions/[email protected]
20+
with:
21+
persist-credentials: false
2022

2123
- name: Compress Images
2224
uses: calibreapp/[email protected] # TODO: if they start using a tag like v1, switch to that

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@ jobs:
1717
test:
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/[email protected]
20+
- name: Clone repository
21+
uses: actions/[email protected]
2122
with:
23+
persist-credentials: false
2224
fetch-depth: 0
2325

2426
- name: Set up Python

.github/workflows/codespell.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,13 @@ jobs:
88
if: github.event.pull_request.draft == false
99
runs-on: ubuntu-latest
1010
steps:
11-
-
12-
name: Checkout repository
13-
uses: actions/[email protected]
14-
-
15-
name: Spell-Checking
16-
uses: codespell-project/actions-codespell@master
17-
with:
18-
ignore_words_file: .codespellignore
19-
skip: ./docs/routers/fritzbox-de.md,./mkdocs.yml,./package.json,./package-lock.json,./.markdownlint.json,./requirements.txt, ./MathJax-es5/*
11+
- name: Clone repository
12+
uses: actions/[email protected]
13+
with:
14+
persist-credentials: false
15+
16+
- name: Spell-Checking
17+
uses: codespell-project/actions-codespell@master
18+
with:
19+
ignore_words_file: .codespellignore
20+
skip: ./docs/routers/fritzbox-de.md,./mkdocs.yml,./package.json,./package-lock.json,./.markdownlint.json,./requirements.txt, ./MathJax-es5/*

.github/workflows/editorconfig-checker.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ jobs:
99
name: editorconfig-checker
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/[email protected]
12+
- name: Clone repository
13+
uses: actions/[email protected]
14+
with:
15+
persist-credentials: false
1316
- uses: editorconfig-checker/action-editorconfig-checker@main
1417
- run: editorconfig-checker

.github/workflows/stale_pr.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,11 @@ name: Close stale PR
55

66
on:
77
schedule:
8-
- cron: '0 10 * * *'
8+
- cron: "0 10 * * *"
99
workflow_dispatch:
1010

1111
jobs:
1212
stale:
13-
1413
runs-on: ubuntu-latest
1514
permissions:
1615
issues: write
@@ -27,9 +26,9 @@ jobs:
2726
# Close PRs immediately, after marking them 'stale'
2827
days-before-pr-close: 0
2928
# only run the action on merge conflict PR
30-
any-of-labels: 'Merge Conflict'
31-
exempt-pr-labels: 'Internal, Never Stale, On Hold, WIP'
29+
any-of-labels: "Merge Conflict"
30+
exempt-pr-labels: "Internal, Never Stale, On Hold, WIP"
3231
exempt-all-pr-assignees: true
3332
operations-per-run: 300
34-
stale-pr-message: ''
35-
close-pr-message: 'Existing merge conflicts have not been addressed. This PR is considered abandoned.'
33+
stale-pr-message: ""
34+
close-pr-message: "Existing merge conflicts have not been addressed. This PR is considered abandoned."

0 commit comments

Comments
 (0)