Streamline actions, format, clean up dependabot.yml

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
XhmikosR
2025-03-30 18:04:25 +03:00
parent 4f1587f37b
commit c2a5d26bb3
6 changed files with 29 additions and 69 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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/*

View File

@@ -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

View File

@@ -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."