Skip to content

Commit

Permalink
Add PR step inside increment job
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Risch committed Aug 23, 2024
1 parent 16897db commit 4c898b1
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/build-internal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ jobs:
needs: [build-android, build-ios]
outputs:
branch-name: ${{ steps.create_branch.outputs.branch-name }}
new_ios_build_number: ${{ steps.increment_version.outputs.new_ios_build_number }}

steps:
- name: Checkout repository
Expand Down Expand Up @@ -128,19 +127,11 @@ jobs:
- name: Push changes
run: git push origin HEAD:${{ steps.create_branch.outputs.branch-name }}

create-pull-request:
runs-on: ubuntu-latest
needs: increment-build-numbers

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ needs.increment-build-numbers.outputs.branch-name }}
branch: ${{ steps.create_branch.outputs.branch-name }}
title: "Increment version numbers"
body: "This PR increments the buildNumber for iOS and the versionCode for Android."
base: main # Change the base branch if needed
base: main

0 comments on commit 4c898b1

Please sign in to comment.