[chore] Add marcschaeferger to triager section (#2391) #11
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: Sync README to gh-pages | |
| permissions: {} | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - 'README.md' | |
| jobs: | |
| sync: | |
| permissions: | |
| contents: write | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout main | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Copy README to temp | |
| run: cp -f README.md ${{ runner.temp }}/README.md | |
| - name: Checkout gh-pages | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| ref: gh-pages | |
| - name: Sync README and push | |
| run: | | |
| cp -f ${{ runner.temp }}/README.md . | |
| git config user.name "$GITHUB_ACTOR" | |
| git config user.email "$GITHUB_ACTOR@users.noreply.github.com" | |
| git add README.md | |
| git commit --signoff -m "Sync README from main" || exit 0 | |
| git push |