Commit 87ffcdb6
87ffcdb6f058Merged
Svyatoslav Dumchenko <[email protected]> ยท 5 years ago ยท 1 file ยท ~1 modified
Description
Make it work
Details
- Commit
- 87ffcdb6f058
- Parent
- f1e38178ba4a
.github/workflows/create-tag.ymlmodifiedView file
@@ -3,7 +3,7 @@
33
on:44
pull_request:55
branches:6-
- release-.*6+
- main77
types:88
- closed99
@@ -13,7 +13,7 @@
1313
steps:1414
- name: Create tag1515
uses: actions/github-script@v316-
if: github.event.pull_request.merged == true16+
if: github.event.pull_request.merged && startsWith(github.event.pull_request.head.ref, 'release-')1717
with:1818
github-token: ${{ github.token }}1919
script: |@@ -23,4 +23,5 @@
2323
repo: context.repo.repo,2424
ref: "refs/tags/" + tag,2525
sha: context.payload.pull_request.merge_commit_sha26-
})26+
})27+