diff --git a/.github/workflows/cheatfinder.yml b/.github/workflows/cheatfinder.yml index b1df472..dd92fb3 100644 --- a/.github/workflows/cheatfinder.yml +++ b/.github/workflows/cheatfinder.yml @@ -27,11 +27,11 @@ jobs: run: | git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com" - git branch ${{ inputs.start }}:${{ inputs.end }}:${{ inputs.alphabet }} - git checkout ${{ inputs.start }}:${{ inputs.end }}:${{ inputs.alphabet }} + git branch ${{ inputs.start }}-${{ inputs.end }}-${{ inputs.alphabet }} + git checkout ${{ inputs.start }}-${{ inputs.end }}-${{ inputs.alphabet }} git add data - git commit --message="[action] ${{ inputs.start }}:${{ inputs.end }}:${{ inputs.alphabet }}" - git push --set-upstream origin ${{ inputs.start }}:${{ inputs.end }}:${{ inputs.alphabet }} - gh pr create --title="[action] ${{ inputs.start }}:${{ inputs.end }}:${{ inputs.alphabet }}" --body="start:${{ inputs.start }} end:${{ inputs.end }} alphabet:${{ inputs.alphabet }}" --base="main" --head="${{ inputs.start }}:${{ inputs.end }}:${{ inputs.alphabet }}" + git commit --message="[action] ${{ inputs.start }}-${{ inputs.end }}-${{ inputs.alphabet }}" + git push --set-upstream origin ${{ inputs.start }}-${{ inputs.end }}-${{ inputs.alphabet }} + gh pr create --title="[action] ${{ inputs.start }}-${{ inputs.end }}-${{ inputs.alphabet }}" --body="start:${{ inputs.start }} end:${{ inputs.end }} alphabet:${{ inputs.alphabet }}" --base="main" --head="${{ inputs.start }}-${{ inputs.end }}-${{ inputs.alphabet }}" env: GH_TOKEN: ${{ github.token }}