chore(deps): bump docker/login-action from 2.2.0 to 3.0.0 #116
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
on: | |
pull_request: | |
branches: | |
- main | |
name: Autodoc | |
jobs: | |
autodoc: | |
name: Update workflow documentation | |
runs-on: ubuntu-latest | |
steps: | |
- | |
name: Setup SSH agent | |
uses: webfactory/ssh-agent@v0.8.0 | |
with: | |
ssh-private-key: "${{ secrets.SSH_KEY_AUTODOC }}" | |
- | |
name: Configure Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11 | |
- | |
name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.head_ref }} | |
fetch-depth: 0 | |
ssh-key: "${{ secrets.SSH_KEY_AUTODOC }}" | |
- | |
name: Update documentation | |
run: | | |
python -m pip install -U pyyaml | |
python .github/scripts/autodoc.py .github/workflows/workflow.yaml README.md | |
# Exit early if no changes were made | |
if [[ -z "$(git status --porcelain README.md)" ]] | |
then | |
echo "Nothing to do!" | |
exit 0 | |
fi | |
git config user.name "github-actions[bot]" | |
git config user.email "github-actions[bot]@users.noreply.github.com" | |
git add README.md | |
git commit -m "docs: update readme with autodoc" | |
git push |