Skip to content

Commit

Permalink
tools/github actions: split dead links/unmaintained projects check wo…
Browse files Browse the repository at this point in the history
…rkflow to separate workflows

- generate 2 separate badges and use them in the project README, CONTRIBUTING, output markdown files
- fixes #49
  • Loading branch information
nodiscc committed Jul 28, 2023
1 parent 3bb7324 commit 11520bd
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 12 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/check-dead-links.yml
@@ -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
@@ -1,4 +1,4 @@
name: dead links/unmaintained projects checks
name: unmaintained projects

on:
schedule:
Expand All @@ -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
1 change: 1 addition & 0 deletions .hecat/awesome-lint.yml
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion markdown/header.md
@@ -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.

Expand Down

0 comments on commit 11520bd

Please sign in to comment.