File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Build, Gates and Pull Request
22
33on :
4- push :
5- branches :
4+ pull_request_target :
5+ branches :
66 - develop
7+ types :
8+ - closed
9+ - synchronize
710
811permissions :
912 contents : write
1013 pull-requests : write
1114
1215jobs :
1316 variables :
17+ if : ${{ github.event.pull_request.merged == true }}
1418 runs-on : ubuntu-latest
1519 outputs :
1620 version : ${{ steps.environment.outputs.version }}
Original file line number Diff line number Diff line change 11name : Build and Publish Release
22
33on :
4- push :
5- branches :
4+ pull_request_target :
5+ branches :
66 - master
7+ types :
8+ - closed
79
810permissions :
911 contents : write
Original file line number Diff line number Diff line change 11name : Build, Publish Snapshot and Pull Request
22
33on :
4- push :
5- branches :
4+ pull_request_target :
5+ branches :
66 - release/**
7+ types :
8+ - closed
9+ - synchronize
710
811permissions :
912 contents : write
1013 pull-requests : write
1114
1215jobs :
1316 ci :
17+ if : ${{ github.event.pull_request.merged == true }}
1418 uses : ./.github/workflows/ci-maven.yml
1519 secrets : inherit
1620
Original file line number Diff line number Diff line change 5959 - name : Create Pull Request (${{ inputs.type }})
6060 uses : peter-evans/create-pull-request@v7
6161 with :
62- title : Auto-created pull request from `${{ github.ref_name }}` to `${{ inputs.target-branch }}`
62+ title : Auto-created pull request into `${{ github.ref_name }}` from `${{ inputs.target-branch }}`
6363 token : ${{ secrets.GITHUB_TOKEN }}
6464 committer : github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
6565 author : ${{ github.actor }} <${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com>
You can’t perform that action at this time.
0 commit comments