diff --git a/.github/workflows/weeklypr.yaml b/.github/workflows/weeklypr.yaml new file mode 100644 index 0000000..905e6ee --- /dev/null +++ b/.github/workflows/weeklypr.yaml @@ -0,0 +1,26 @@ +on: + schedule: + - cron: '0 6 * * THU' +name: weekly PR +jobs: + createPullRequest: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Create report file + run: date +%s > report.txt + - name: Create Pull Request + uses: peter-evans/create-pull-request@v5 + with: + commit-message: Add report file + committer: GitHub + author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> + signoff: false + branch: develop + title: 'Weekly merge develop to main' + body: > + This weekly PR is auto-generated by + [create-pull-request](https://github.com/peter-evans/create-pull-request). + labels: weekly, automated pr + reviewers: jmbhughes + draft: false