From 2ff69d8a978b865840162d5888e8a713d0ee1e02 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 25 Jan 2024 08:52:34 -0500 Subject: [PATCH] Merge test-pr into main (#1) * Update pull-request.yml * Update pull-request.yml * Update pull-request.yml * Update pull-request.yml * Update pull-request.yml --------- Co-authored-by: qtrinh2 --- .github/workflows/pull-request.yml | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index c64357c..1bc7d16 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -11,16 +11,13 @@ jobs: pull-request: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - name: Create Pull Request - uses: peter-evans/create-pull-request@v5 - with: - token: ${{ secrets.GITHUB_TOKEN }} - commit-message: "Simple demo" - title: "Example: Simple demo" - body: | - This PR is auto-generated by [create-pull-request](https://github.com/peter-evans/create-pull-request). - labels: | - feature - automated pr - branch: main + - uses: actions/checkout@v4 + - name: create pull request + if: false + run: gh pr create -B main -H ${{ github.ref_name }} --title 'Merge ${{ github.ref_name }} into main' --body 'Created by Github action' + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - uses: juliangruber/approve-pull-request-action@v2.0.4 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + number: 1