mirror of
https://github.com/pi-hole/docs.git
synced 2026-02-15 07:26:03 +00:00
Streamline actions, format, clean up dependabot.yml
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
47
.github/dependabot.yml
vendored
47
.github/dependabot.yml
vendored
@@ -45,50 +45,3 @@ updates:
|
||||
patterns:
|
||||
- "*"
|
||||
target-branch: master
|
||||
|
||||
# As above, but for development-v6
|
||||
- package-ecosystem: npm
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: weekly
|
||||
day: saturday
|
||||
time: "10:00"
|
||||
target-branch: release/v6.0
|
||||
open-pull-requests-limit: 10
|
||||
versioning-strategy: increase
|
||||
reviewers:
|
||||
- "pi-hole/docs-maintainers"
|
||||
groups:
|
||||
npm-dependencies:
|
||||
patterns:
|
||||
- "*"
|
||||
- package-ecosystem: pip
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: weekly
|
||||
day: saturday
|
||||
time: "10:00"
|
||||
target-branch: release/v6.0
|
||||
open-pull-requests-limit: 10
|
||||
allow:
|
||||
- dependency-type: direct
|
||||
- dependency-type: indirect
|
||||
reviewers:
|
||||
- "pi-hole/docs-maintainers"
|
||||
groups:
|
||||
pip-dependencies:
|
||||
patterns:
|
||||
- "*"
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: weekly
|
||||
day: saturday
|
||||
time: "10:00"
|
||||
reviewers:
|
||||
- "pi-hole/docs-maintainers"
|
||||
groups:
|
||||
github_action-dependencies:
|
||||
patterns:
|
||||
- "*"
|
||||
target-branch: release/v6.0
|
||||
|
||||
12
.github/workflows/calibreapp-image-actions.yml
vendored
12
.github/workflows/calibreapp-image-actions.yml
vendored
@@ -3,10 +3,10 @@ name: Compress Images
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- '**.jpg'
|
||||
- '**.jpeg'
|
||||
- '**.png'
|
||||
- '**.webp'
|
||||
- "**.jpg"
|
||||
- "**.jpeg"
|
||||
- "**.png"
|
||||
- "**.webp"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -15,8 +15,10 @@ jobs:
|
||||
name: calibreapp/image-actions
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
- name: Clone repository
|
||||
uses: actions/checkout@v4.2.2
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Compress Images
|
||||
uses: calibreapp/image-actions@1.1.0 # TODO: if they start using a tag like v1, switch to that
|
||||
|
||||
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -17,8 +17,10 @@ jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4.2.2
|
||||
- name: Clone repository
|
||||
uses: actions/checkout@v4.2.2
|
||||
with:
|
||||
persist-credentials: false
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set up Python
|
||||
|
||||
19
.github/workflows/codespell.yml
vendored
19
.github/workflows/codespell.yml
vendored
@@ -8,12 +8,13 @@ jobs:
|
||||
if: github.event.pull_request.draft == false
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
-
|
||||
name: Checkout repository
|
||||
uses: actions/checkout@v4.2.2
|
||||
-
|
||||
name: Spell-Checking
|
||||
uses: codespell-project/actions-codespell@master
|
||||
with:
|
||||
ignore_words_file: .codespellignore
|
||||
skip: ./docs/routers/fritzbox-de.md,./mkdocs.yml,./package.json,./package-lock.json,./.markdownlint.json,./requirements.txt, ./MathJax-es5/*
|
||||
- name: Clone repository
|
||||
uses: actions/checkout@v4.2.2
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Spell-Checking
|
||||
uses: codespell-project/actions-codespell@master
|
||||
with:
|
||||
ignore_words_file: .codespellignore
|
||||
skip: ./docs/routers/fritzbox-de.md,./mkdocs.yml,./package.json,./package-lock.json,./.markdownlint.json,./requirements.txt, ./MathJax-es5/*
|
||||
|
||||
5
.github/workflows/editorconfig-checker.yml
vendored
5
.github/workflows/editorconfig-checker.yml
vendored
@@ -9,6 +9,9 @@ jobs:
|
||||
name: editorconfig-checker
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4.2.2
|
||||
- name: Clone repository
|
||||
uses: actions/checkout@v4.2.2
|
||||
with:
|
||||
persist-credentials: false
|
||||
- uses: editorconfig-checker/action-editorconfig-checker@main
|
||||
- run: editorconfig-checker
|
||||
|
||||
11
.github/workflows/stale_pr.yml
vendored
11
.github/workflows/stale_pr.yml
vendored
@@ -5,12 +5,11 @@ name: Close stale PR
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 10 * * *'
|
||||
- cron: "0 10 * * *"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
stale:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
issues: write
|
||||
@@ -27,9 +26,9 @@ jobs:
|
||||
# Close PRs immediately, after marking them 'stale'
|
||||
days-before-pr-close: 0
|
||||
# only run the action on merge conflict PR
|
||||
any-of-labels: 'Merge Conflict'
|
||||
exempt-pr-labels: 'Internal, Never Stale, On Hold, WIP'
|
||||
any-of-labels: "Merge Conflict"
|
||||
exempt-pr-labels: "Internal, Never Stale, On Hold, WIP"
|
||||
exempt-all-pr-assignees: true
|
||||
operations-per-run: 300
|
||||
stale-pr-message: ''
|
||||
close-pr-message: 'Existing merge conflicts have not been addressed. This PR is considered abandoned.'
|
||||
stale-pr-message: ""
|
||||
close-pr-message: "Existing merge conflicts have not been addressed. This PR is considered abandoned."
|
||||
|
||||
Reference in New Issue
Block a user