mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-22 04:32:16 -05:00
parent
807979d23c
commit
d21b7b4006
1 changed files with 9 additions and 13 deletions
22
.github/workflows/deploy-RELEASE.yml
vendored
22
.github/workflows/deploy-RELEASE.yml
vendored
|
@ -206,19 +206,15 @@ jobs:
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
if: success()
|
if: success()
|
||||||
id: create_release
|
id: create_release
|
||||||
uses: actions/create-release@v1
|
run: |
|
||||||
env:
|
curl -X POST \
|
||||||
# This token is provided by Actions,
|
--url https://api.github.com/repos/${{ github.repository }}/releases \
|
||||||
# you do not need to create your own token
|
-H 'Accept: application/vnd.github.v3+json' \
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
|
||||||
with:
|
-H 'Content-Type: application/json' \
|
||||||
commitish: ${{ env.PR_REF }}
|
--data "{ \"tag_name\": \"${{ env.RELEASE_VERSION }}\", \"target_commitish\": \"${{ env.PR_REF }}\", \
|
||||||
tag_name: ${{ env.RELEASE_VERSION }}
|
\"name\": \"Release ${{ env.RELEASE_VERSION }}\", \"draft\": false, \"prerelease\": false, \
|
||||||
release_name: Release ${{ env.RELEASE_VERSION }}
|
\"repository_action_release_attributes\": { \"published_on_marketplace\": true }}"
|
||||||
body: |
|
|
||||||
${{ github.event.issue.body }}
|
|
||||||
draft: false
|
|
||||||
prerelease: false
|
|
||||||
|
|
||||||
#####################################################
|
#####################################################
|
||||||
# Create the Required status check for Stack Linter #
|
# Create the Required status check for Stack Linter #
|
||||||
|
|
Loading…
Reference in a new issue