From 05f88e7a2c5d3410575b7440a7da2990709cb8a5 Mon Sep 17 00:00:00 2001 From: Marcus Hughes Date: Tue, 31 Oct 2023 12:24:45 -0600 Subject: [PATCH 1/2] Create weeklypr.yaml --- .github/workflows/weeklypr.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/weeklypr.yaml diff --git a/.github/workflows/weeklypr.yaml b/.github/workflows/weeklypr.yaml new file mode 100644 index 0000000..8fca1a3 --- /dev/null +++ b/.github/workflows/weeklypr.yaml @@ -0,0 +1,20 @@ +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 + title: '[Example] Add report file' + body: > + This weekly PR is auto-generated by + [create-pull-request](https://github.com/peter-evans/create-pull-request). + labels: weekly, automated pr From 67abb378af31bbe089fc9bda751b47dfe38bb61f Mon Sep 17 00:00:00 2001 From: Marcus Hughes Date: Tue, 31 Oct 2023 12:27:43 -0600 Subject: [PATCH 2/2] Update weeklypr.yaml --- .github/workflows/weeklypr.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/weeklypr.yaml b/.github/workflows/weeklypr.yaml index 8fca1a3..905e6ee 100644 --- a/.github/workflows/weeklypr.yaml +++ b/.github/workflows/weeklypr.yaml @@ -13,8 +13,14 @@ jobs: uses: peter-evans/create-pull-request@v5 with: commit-message: Add report file - title: '[Example] 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