Commit 1ded8a37
1ded8a375ee2Merged
Dmitriy Zhilyaev <[email protected]> ยท 2 years ago ยท 1 file ยท ~1 modified
Description
fix(ci): refactor
Signed-off-by: Dmitriy Zhilyaev [email protected]
Details
- Commit
- 1ded8a375ee2
- Parent
- c0ee816e2843
.github/workflows/release-tag.ymlmodifiedView file
@@ -2,10 +2,8 @@
22
33
on:44
pull_request:5-
branches:6-
- main7-
types:8-
- closed5+
branches: [ main ]6+
types: [ closed ]97
108
jobs:119
tagger:@@ -14,9 +12,7 @@
1412
contents: write # to create new tag1513
if: ${{ startsWith(github.event.pull_request.head.ref, 'release/') }}1614
steps:17-
- name: Create tag18-
id: create19-
uses: actions/github-script@v715+
- uses: actions/github-script@v72016
with:2117
# https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/triggering-a-workflow#triggering-a-workflow-from-a-workflow2218
github-token: ${{ secrets.PAT }}@@ -30,7 +26,5 @@
3026
}3127
3228
await github.rest.git.createRef(ref)33-
3429
result-encoding: string35-
retry-exempt-status-codes: 400,4013630