chore(deps): bump mikefarah/yq from 4.52.4 to 4.53.3 #635
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
| name: docs | |
| on: | |
| pull_request: | |
| workflow_call: | |
| inputs: | |
| branch: | |
| required: true | |
| type: string | |
| description: "branch name to checkout from - used for pull requests" | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| readme: | |
| name: readme | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| # # use PAT because main branch is a protected branch | |
| # token: ${{ secrets.PAT }} | |
| ref: ${{ inputs.branch }} | |
| - uses: mikefarah/yq@v4.53.3 | |
| id: yq | |
| with: | |
| cmd: yq eval '.version' 'package.json' | |
| # workaround for bitflight-devops/github-action-readme-generator#172 | |
| - run: echo "npm_package_version=${{ steps.yq.outputs.result }}" >> $GITHUB_ENV | |
| # use fixed bitflight-devops/github-action-readme-generator action | |
| # see issues: 179, 180 and 181 | |
| - uses: fty4/github-action-readme-generator@619a3775fdd606926f3820f00471c0cde9f30bf1 #fty4-v0.0.1 | |
| with: | |
| pretty: "prettier" | |
| title_prefix: "GitHub Action: " | |
| versioning_enabled: "true" | |
| - name: commit changes | |
| uses: stefanzweifel/git-auto-commit-action@v7 | |
| with: | |
| commit_message: "chore(doc): autoupdated README" | |
| file_pattern: README.md |