name: Generate Contributors Image on: schedule: - cron: '0 1 * * 0' # At 01:00 on Sunday. push: branches: - 'v2/update-contrib-svg' jobs: contributors: runs-on: ubuntu-latest if: github.repository == 'wailsapp/wails' steps: - uses: actions/checkout@v3 - uses: wow-actions/contributors-list@v1 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} svgPath: ./website/static/img/contributors.svg noCommit: true - name: Create Pull Request uses: peter-evans/create-pull-request@v4 with: commit-message: "chore: update contributors.svg" add-paths: "website/static/img/contributors.svg" title: Update Contributors Image body: Generated new image branch: update-contributors delete-branch: true