Skip to content

Commit

Permalink
Use SHA instead of Merge Commit SHA for workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bdukes committed Dec 1, 2021
1 parent a9be564 commit af9b738
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/open-merged-pr-to-future.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- develop

jobs:
open-merged-pr-to-ten-branch:
open-merged-pr-to-release-branch:
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.merged }}
steps:
Expand All @@ -17,12 +17,12 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
branch: v10/${{ github.event.pull_request.head.ref }}-${{ github.event.pull_request.head.merge_commit_sha }}
branch: v10/${{ github.event.pull_request.head.ref }}-${{ github.event.pull_request.head.sha }}

- name: Create Pull Request
uses: repo-sync/pull-request@v2.6
with:
source_branch: v10/${{ github.event.pull_request.head.ref }}-${{ github.event.pull_request.head.merge_commit_sha }}
source_branch: v10/${{ github.event.pull_request.head.ref }}-${{ github.event.pull_request.head.sha }}
destination_branch: release/10.0.0
pr_title: v10 ${{ github.event.pull_request.title }}
pr_body: |
Expand Down

0 comments on commit af9b738

Please sign in to comment.