Check tags without SEO descriptions #49
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check tags without SEO descriptions | |
on: | |
schedule: | |
- cron: '15 4 1 * *' # At 04:05 on day-of-month 1. | |
workflow_dispatch: | |
jobs: | |
publishing: | |
name: Check if all tags have a proper SEO description | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/[email protected] | |
with: | |
python-version-file: 'scripts/.python-version' | |
cache: 'pip' | |
- name: Install python dependencies | |
run: pip install -r scripts/requirements.txt | |
- name: Search for missing SEO tags in content files | |
run: make find_tags_that_need_descriptions-content-files-dump | |
- name: Search for missing SEO tags in the German Tech Podcast file | |
run: make find_tags_that_need_descriptions-german-tech-podcast-file-dump | |
# Commit results back to repository | |
- uses: stefanzweifel/git-auto-commit-action@v5 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
commit_message: Add new tags that need SEO descriptions into tag data file | |
branch: main | |
commit_user_name: Tag SEO description workflow bot | |
commit_user_email: [email protected] | |
commit_author: Tag SEO description workflow bot <[email protected]> |