Skip to content

Commit

Permalink
attempt merging
Browse files Browse the repository at this point in the history
  • Loading branch information
toy committed Mar 21, 2024
1 parent 20ffea4 commit 5e4d684
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions .github/workflows/create-merge-release-into-dev-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,33 @@ jobs:
echo "branch=${BRANCH}" >> $GITHUB_OUTPUT
create-pr:
try-merging:
permissions:
pull-requests: write # for git push
contents: write # for git push

runs-on: ubuntu-latest
needs: setup
timeout-minutes: 5
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: test-dev # TODO: DELETE ME
- name: Try merging
run: |
git merge --no-edit --no-ff "$RELEASE_BRANCH"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RELEASE_BRANCH: ${{ needs.setup.outputs.latest_release_branch }}

create-pr:
permissions:
pull-requests: write # for creating pull request

runs-on: ubuntu-latest
needs: [setup, try-merging]
timeout-minutes: 5
if: false # TODO: DELETE ME
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down

0 comments on commit 5e4d684

Please sign in to comment.