tools/github actions: split dead links/unmaintained projects check workflow to separate workflows

- generate 2 separate badges and use them in the project README, CONTRIBUTING, output markdown files
- fixes https://github.com/awesome-selfhosted/awesome-selfhosted-data/issues/49
This commit is contained in:
nodiscc
2023-07-28 14:15:30 +02:00
parent 3bb73247d2
commit 11520bd624
6 changed files with 27 additions and 12 deletions

21
.github/workflows/check-dead-links.yml vendored Normal file
View File

@@ -0,0 +1,21 @@
name: dead links
on:
schedule:
- cron: '22 22 * * *'
workflow_dispatch:
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
check-dead-links:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: make install
- run: make url_check

View File

@@ -1,4 +1,4 @@
name: dead links/unmaintained projects checks
name: unmaintained projects
on:
schedule:
@@ -13,16 +13,9 @@ concurrency:
cancel-in-progress: true
jobs:
unmaintained-projects-checks:
check-unmaintained-projects:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: make install
- run: make awesome_lint
link-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: make install
- run: make url_check

View File

@@ -1,3 +1,4 @@
# doc: https://github.com/nodiscc/hecat/blob/master/hecat/processors/awesome_lint.py
steps:
- name: data against awesome-selfhosted guidelines
module: processors/awesome_lint

View File

@@ -6,7 +6,7 @@ Don't know where to start? Check issues labeled [`help wanted`](https://github.c
- Software with no development activity for 6-12 months may be removed from the list
- Unmaintained software without an active community and/or persistent security issues may be removed from the list
- Problems should be reported automatically: [![](https://github.com/awesome-selfhosted/awesome-selfhosted-data/actions/workflows/daily-checks.yml/badge.svg)](https://github.com/awesome-selfhosted/awesome-selfhosted-data/issues/1)
- Problems should be reported automatically: [![](https://github.com/awesome-selfhosted/awesome-selfhosted-data/actions/workflows/check-dead-links.yml/badge.svg)](https://github.com/awesome-selfhosted/awesome-selfhosted-data/issues/1) [![](https://github.com/awesome-selfhosted/awesome-selfhosted-data/actions/workflows/check-unmaintained-projects.yml/badge.svg)](https://github.com/awesome-selfhosted/awesome-selfhosted-data/issues/1)
### Add software to the list

View File

@@ -2,7 +2,7 @@
This repository holds data used to generate https://github.com/awesome-selfhosted/awesome-selfhosted
**Status: [experimental](https://github.com/awesome-selfhosted/awesome-selfhosted-data/issues/11)** [![](https://github.com/awesome-selfhosted/awesome-selfhosted-data/actions/workflows/build.yml/badge.svg)](https://github.com/awesome-selfhosted/awesome-selfhosted-data/actions/workflows/build.yml) [![](https://github.com/awesome-selfhosted/awesome-selfhosted-data/actions/workflows/daily-update-metadata.yml/badge.svg)](https://github.com/awesome-selfhosted/awesome-selfhosted-data/actions/workflows/daily-update-metadata.yml)
**Status: [experimental](https://github.com/awesome-selfhosted/awesome-selfhosted-data/issues/11)** [![](https://github.com/awesome-selfhosted/awesome-selfhosted-data/actions/workflows/build.yml/badge.svg)](https://github.com/awesome-selfhosted/awesome-selfhosted-data/actions/workflows/build.yml) [![](https://github.com/awesome-selfhosted/awesome-selfhosted-data/actions/workflows/daily-update-metadata.yml/badge.svg)](https://github.com/awesome-selfhosted/awesome-selfhosted-data/actions/workflows/daily-update-metadata.yml) [![](https://github.com/awesome-selfhosted/awesome-selfhosted-data/actions/workflows/check-dead-links.yml/badge.svg)](https://github.com/awesome-selfhosted/awesome-selfhosted-data/issues/1) [![](https://github.com/awesome-selfhosted/awesome-selfhosted-data/actions/workflows/check-unmaintained-projects.yml/badge.svg)](https://github.com/awesome-selfhosted/awesome-selfhosted-data/issues/1)
## Contributing

View File

@@ -1,6 +1,6 @@
# Awesome-Selfhosted
[![Awesome](_static/awesome.png)](https://github.com/sindresorhus/awesome) [![](https://github.com/awesome-selfhosted/awesome-selfhosted-data/actions/workflows/daily-checks.yml/badge.svg)](https://github.com/awesome-selfhosted/awesome-selfhosted/issues/3558)
[![Awesome](_static/awesome.png)](https://github.com/sindresorhus/awesome) [![](https://github.com/awesome-selfhosted/awesome-selfhosted-data/actions/workflows/check-dead-links.yml/badge.svg)](https://github.com/awesome-selfhosted/awesome-selfhosted-data/issues/1) [![](https://github.com/awesome-selfhosted/awesome-selfhosted-data/actions/workflows/check-unmaintained-projects.yml/badge.svg)](https://github.com/awesome-selfhosted/awesome-selfhosted-data/issues/1)
Self-hosting is the practice of hosting and managing applications on your own server(s) instead of consuming from [SaaSS](https://www.gnu.org/philosophy/who-does-that-server-really-serve.html) providers.