mirror of
https://github.com/peter-evans/create-pull-request.git
synced 2026-12-02 04:40:29 +00:00
Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
41cf0afe47 | ||
|
|
b457f7bfef |
No files matched your search
@@ -124,7 +124,7 @@ jobs:
|
||||
name: dist
|
||||
path: dist
|
||||
- name: Create Pull Request
|
||||
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
|
||||
uses: peter-evans/create-pull-request@3ffccacd46053766916f087ce41d627c0b8cf2d1 # v8.1.3
|
||||
with:
|
||||
token: ${{ secrets.ACTIONS_BOT_TOKEN }}
|
||||
commit-message: 'build: update distribution'
|
||||
|
||||
@@ -27,7 +27,9 @@ jobs:
|
||||
git config user.name actions-bot
|
||||
git config user.email actions-bot@users.noreply.github.com
|
||||
- name: Tag new target
|
||||
run: git tag -f "${INPUT_MAIN_VERSION}" "${INPUT_TARGET}"
|
||||
run: |
|
||||
sha=$(git rev-parse --verify --end-of-options "${INPUT_TARGET}^{commit}")
|
||||
git tag -f "${INPUT_MAIN_VERSION}" "${sha}"
|
||||
env:
|
||||
INPUT_MAIN_VERSION: ${{ github.event.inputs.main_version }}
|
||||
INPUT_TARGET: ${{ github.event.inputs.target }}
|
||||
|
||||
Reference in new issue
Block a user