podcast-list-update #517
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: Sync German Tech Podcasts | |
on: | |
workflow_dispatch: | |
repository_dispatch: | |
types: [podcast-list-update] | |
jobs: | |
publishing: | |
name: Sync German Tech Podcasts from external repository | |
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: make init-python | |
- name: Run make update-german-tech-podcasts | |
run: make update-german-tech-podcasts | |
# Commit results back to repository | |
- uses: stefanzweifel/git-auto-commit-action@v5 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
commit_message: Update src/data/german_tech_podcasts.json with latest podcast data | |
branch: main | |
commit_user_name: Sync German Tech Podcast workflow bot | |
commit_user_email: [email protected] | |
commit_author: Sync German Tech Podcast workflow bot <[email protected]> |