Update PRs List #67
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 PRs List | |
| on: | |
| schedule: | |
| - cron: '0 0 * * 0' # Runs at 00:00 every Sunday | |
| workflow_dispatch: # Allows manual trigger | |
| jobs: | |
| update-prs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@v4 | |
| with: | |
| go-version: '1.21' | |
| - name: Run PR update script | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| go run main.go -owner=jaegertracing -repo=jaeger | |
| go run main.go -owner=kubeflow -repo=manifests | |
| go run main.go -owner=kubeflow -repo=pipelines | |
| - name: Commit and push changes | |
| run: | | |
| git config --local user.email "github-actions[bot]@users.noreply.github.com" | |
| git config --local user.name "github-actions[bot]" | |
| git add . | |
| git diff --quiet && git diff --staged --quiet || git commit -m "docs: update PR list [skip ci]" | |
| git push |