mirror of
https://github.com/CivMC/Civ.git
synced 2026-07-18 00:20:44 +00:00
commit author PLEASE
This commit is contained in:
@@ -28,6 +28,9 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Set git user
|
||||
run: git config user.email "41898282+github-actions[bot]@users.noreply.github.com" && git config user.name "github-actions[bot]"
|
||||
|
||||
- name: Extract branch name
|
||||
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
|
||||
@@ -48,7 +51,7 @@ jobs:
|
||||
run: gh release download -R ${{ github.repository_owner }}/${{ inputs.plugin }} ${{ inputs.version }} -p ${{ inputs.asset_pattern}}
|
||||
|
||||
- name: Commit and push branch
|
||||
run: git add . && git commit --author="github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>" -m "${{ inputs.plugin }}-${{ inputs.version }}" && git push -u origin feature/update-${{ inputs.plugin }}-${{ inputs.version }}
|
||||
run: git add . && git commit -m "${{ inputs.plugin }}-${{ inputs.version }}" && git push -u origin feature/update-${{ inputs.plugin }}-${{ inputs.version }}
|
||||
|
||||
- name: Create PR
|
||||
run: gh pr create -B ${{ steps.extract_branch.outputs.branch }} -H feature/update-${{ inputs.plugin }}-${{ inputs.version }} -t "Update ${{ inputs.plugin }}-${{ inputs.version }}" -b "Update ${{ inputs.plugin }}-${{ inputs.version }}"
|
||||
|
||||
Reference in New Issue
Block a user