Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 17 additions & 9 deletions .github/workflows/check-tags-without-descriptions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,36 @@ on:
workflow_dispatch:

jobs:
publishing:
check-tags-without-descriptions:
name: Check if all tags have a proper SEO description
runs-on: ubuntu-24.04
defaults:
run:
working-directory: website-admin

steps:
- uses: actions/checkout@v6.0.1
- uses: actions/setup-python@v6.1.0
- uses: actions/setup-go@v6
with:
python-version-file: 'scripts/.python-version'
cache: 'pip'
go-version: "1.25"

- name: Install python dependencies
run: make init-python
- name: Build
run: make build

# Finds all used tags in content files that need SEO descriptions and updates the tag-file
- name: Search for missing SEO tags in content files
run: make update-missing-tag-descriptions-content-files
run: |
./website-admin tags find website-content --write-file

# Find all used tags in the german tech podcasts that need SEO descriptions and updates the tag-file
- name: Search for missing SEO tags in the German Tech Podcast file
run: make update-missing-tag-descriptions-german-tech-podcast
run: |
./website-admin tags find german-tech-podcasts --write-file

# Find all used genres in the awesome software engineering games that need SEO descriptions and updates the genre-file
- name: Search for missing SEO genres in the awesome-software-engineering-games file
run: make update-missing-genre-descriptions-awesome-software-engineering-games
run: |
./website-admin tags find awesome-software-engineering-games --write-file

# Commit results back to repository
- uses: stefanzweifel/git-auto-commit-action@v7.1.0
Expand Down
24 changes: 0 additions & 24 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,27 +66,3 @@ update-german-tech-podcasts: ## Updates the German Tech Podcasts data from https
.PHONY: update-awesome-software-engineering-games
update-awesome-software-engineering-games: ## Updates the Awesome Software Engineering Games data from https://github.com/EngineeringKiosk/awesome-software-engineering-games
./website-admin/website-admin sync awesome-software-engineering-games

.PHONY: find-missing-tag-descriptions-content-files
find-missing-tag-descriptions-content-files: ## Finds all used tags in content files that need SEO descriptions and output them on stdout
./website-admin/website-admin tags find website-content

.PHONY: find-missing-tag-descriptions-german-tech-podcast
find-missing-tag-descriptions-german-tech-podcast: ## Finds all used tags in the german tech podcasts that need SEO descriptions and output them on stdout
./website-admin/website-admin tags find german-tech-podcasts

.PHONY: find-missing-genre-descriptions-awesome-software-engineering-games
find-missing-genre-descriptions-awesome-software-engineering-games: ## Finds all used genres in the awesome software engineering games that need SEO descriptions and output them on stdout
./website-admin/website-admin tags find awesome-software-engineering-games

.PHONY: update-missing-tag-descriptions-content-files
update-missing-tag-descriptions-content-files: ## Finds all used tags in content files that need SEO descriptions and updates the tag-file
./website-admin/website-admin tags find website-content --write-file

.PHONY: update-missing-tag-descriptions-german-tech-podcast
update-missing-tag-descriptions-german-tech-podcast: ## Find all used tags in the german tech podcasts that need SEO descriptions and updates the tag-file
./website-admin/website-admin tags find german-tech-podcasts --write-file

.PHONY: update-missing-genre-descriptions-awesome-software-engineering-games
update-missing-genre-descriptions-awesome-software-engineering-games: ## Find all used genres in the awesome software engineering games that need SEO descriptions and updates the genre-file
./website-admin/website-admin tags find awesome-software-engineering-games --write-file
Loading