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 }}