Upgrade Actions and Dependencies #306
Workflow file for this run
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
# The objective of this GitHub Action is to update the DIRECTORY.md file (if needed) | |
# when doing a git push | |
name: directory_writer | |
on: | |
pull_request: | |
push: | |
branches: | |
- "master" | |
jobs: | |
Update_DIRECTORY: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.12 | |
- name: Write DIRECTORY.md | |
run: | | |
python scripts/build_directory_md.py 2>&1 | tee DIRECTORY.md | |
- name: Commit changes | |
uses: EndBug/add-and-commit@v4 | |
with: | |
author_name: Martin Röbke | |
author_email: [email protected] | |
message: "Automatic Update: DIRECTORY.md" | |
add: "DIRECTORY.md" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |