From 2eb8de630e8ed9e759dbc7e29b4df3453c6fd2a9 Mon Sep 17 00:00:00 2001 From: Marcus Hughes Date: Thu, 2 Nov 2023 08:02:10 -0600 Subject: [PATCH] Update weeklypr.yaml --- .github/workflows/weeklypr.yaml | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/.github/workflows/weeklypr.yaml b/.github/workflows/weeklypr.yaml index 905e6ee..488bdce 100644 --- a/.github/workflows/weeklypr.yaml +++ b/.github/workflows/weeklypr.yaml @@ -6,21 +6,7 @@ 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 + - name: create pull request + run: gh pr create -B main -H develop --title 'Weekly merge to develop' --body 'Created by Github action' + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}