fix: normalize cert-manager report header #4
Workflow file for this run
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: Update OSS Table | |
| on: | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - "oss/*/README.md" | |
| permissions: | |
| contents: write | |
| jobs: | |
| update-table: | |
| if: github.repository_owner == 'thxtech' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout PR branch | |
| uses: actions/checkout@v4 | |
| with: | |
| ref: ${{ github.head_ref }} | |
| - name: Generate table | |
| run: bash scripts/generate-table.sh | |
| - name: Check for changes | |
| id: diff | |
| run: | | |
| git diff --quiet docs/TABLE.md README.md && echo "changed=false" >> "$GITHUB_OUTPUT" || echo "changed=true" >> "$GITHUB_OUTPUT" | |
| - name: Commit and push | |
| if: steps.diff.outputs.changed == 'true' | |
| run: | | |
| git config user.name "github-actions[bot]" | |
| git config user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
| git add docs/TABLE.md README.md | |
| git commit -m "docs: update OSS project table [skip ci]" | |
| git push |