Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to create pull request due to cherry-picker error #2341

Closed
cris-m opened this issue Sep 14, 2023 · 1 comment
Closed

unable to create pull request due to cherry-picker error #2341

cris-m opened this issue Sep 14, 2023 · 1 comment

Comments

@cris-m
Copy link

cris-m commented Sep 14, 2023

Subject of the issue

I am getting stuck with create pull request problem related to cherry-pick .
Describe your issue here.
It seems that there on Create or update the pull request branch step here is my action:

  create-pull-request:
    needs: test-uipath-published-package
    runs-on: ubuntu-latest

    steps:
      - name: Check out repository code
        uses: actions/checkout@v3
        with:
              ref: developer

      - name: Reset development branch
        run: |
          git fetch origin main:main
          git reset --hard main

      - name: Create Pull Request
        uses: peter-evans/create-pull-request@v5
        with:
          base: main
          branch: developer
Screenshot 2023-09-14 at 21 38 47
@peter-evans
Copy link
Owner

Hi @cris-m

I think the problem is the last line. You can't use the developer branch here. You must pick a different PR branch name that will be created as the branch that will merge into developer.

  create-pull-request:
    needs: test-uipath-published-package
    runs-on: ubuntu-latest

    steps:
      - name: Check out repository code
        uses: actions/checkout@v3
        with:
              ref: developer

      - name: Reset development branch
        run: |
          git fetch origin main:main
          git reset --hard main

      - name: Create Pull Request
        uses: peter-evans/create-pull-request@v5
        with:
          base: main
-         branch: developer
+         branch: developer-update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants