ci: add cloudpunks sync workflow #1
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: readme | |
"on": | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
jobs: | |
readme: | |
runs-on: ubuntu-latest | |
if: github.repository_owner == 'rolehippie' | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.BOT_ACCESS_TOKEN }} | |
- name: Generate readme | |
uses: actionhippie/ansible-doctor@v2 | |
with: | |
force: true | |
verbose: true | |
- name: Commit changes | |
uses: EndBug/add-and-commit@v9 | |
with: | |
author_name: GitHub Actions | |
author_email: [email protected] | |
add: README.md | |
message: "docs: automated readme update [skip ci]" | |
push: true | |
commit: --signoff | |
... |