ci: replace ubuntu image for molecule #50
This file contains hidden or 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
| --- | |
| # yaml-language-server: $schema=https://www.schemastore.org/github-workflow.json | |
| name: readme | |
| "on": | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - master | |
| permissions: | |
| contents: read | |
| jobs: | |
| readme: | |
| runs-on: ubuntu-latest | |
| if: github.repository_owner == 'rolehippie' | |
| steps: | |
| - name: Generate token | |
| id: token | |
| uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2 | |
| with: | |
| app_id: ${{ secrets.TOKEN_EXCHANGE_APP }} | |
| installation_retrieval_mode: id | |
| installation_retrieval_payload: ${{ secrets.TOKEN_EXCHANGE_INSTALL }} | |
| private_key: ${{ secrets.TOKEN_EXCHANGE_KEY }} | |
| permissions: >- | |
| {"contents": "write"} | |
| - name: Checkout source | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 | |
| with: | |
| token: ${{ steps.token.outputs.token }} | |
| - name: Generate readme | |
| uses: actionhippie/ansible-doctor@b1c394cec3fb1b7a2aa90cb05b7b66cc7f71a72b # v6 | |
| with: | |
| force: true | |
| verbose: true | |
| - name: Commit changes | |
| uses: EndBug/add-and-commit@a94899bca583c204427a224a7af87c02f9b325d5 # v9 | |
| with: | |
| author_name: GitHub Actions | |
| author_email: github@webhippie.de | |
| add: README.md | |
| message: "docs: automated readme update [skip ci]" | |
| push: true | |
| commit: --signoff | |
| ... |