Update devDependencies #206
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: Document GitHub action | |
on: | |
push: | |
paths: | |
- ".github/workflows/spotify.yml" | |
- ".github/workflows/spotify-advanced.yml" | |
- ".github/workflows/documentation.yml" | |
- "action.yml" | |
- "package.json" | |
- "README.md" | |
permissions: | |
contents: write | |
jobs: | |
documentation: | |
runs-on: macOS-latest | |
name: Write documentation | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Documentation action | |
id: documentation | |
uses: katydecorah/[email protected] | |
with: | |
example-workflow-file: "spotify.yml" | |
additional-workflow-file-prefix: "spotify" | |
- name: Commit files | |
if: steps.documentation.outputs.update == 'true' | |
run: | | |
git pull | |
git config --local user.email "[email protected]" | |
git config --local user.name "GitHub Action" | |
git commit -am "Update documentation" | |
git push |