mirror of
https://github.com/EpicMorg/atlassian-json.git
synced 2025-02-04 17:50:51 +03:00
Update json-master.yml
This commit is contained in:
parent
64153b0530
commit
00118c62e5
54
.github/workflows/json-master.yml
vendored
54
.github/workflows/json-master.yml
vendored
@ -49,34 +49,34 @@ jobs:
|
|||||||
commit_user_email: stamepicmorg@users.noreply.github.com # defaults to "actions@github.com"
|
commit_user_email: stamepicmorg@users.noreply.github.com # defaults to "actions@github.com"
|
||||||
commit_author: stamepicmorg <stamepicmorg@users.noreply.github.com> # defaults to author of the commit that triggered the run
|
commit_author: stamepicmorg <stamepicmorg@users.noreply.github.com> # defaults to author of the commit that triggered the run
|
||||||
|
|
||||||
- name: "Notify if changes have been detected"
|
# - name: "Notify if changes have been detected"
|
||||||
if: steps.auto-commit-action.outputs.changes_detected == 'true'
|
# if: steps.auto-commit-action.outputs.changes_detected == 'true'
|
||||||
run: |
|
# run: |
|
||||||
echo "Changes! Notify!"
|
# echo "Changes! Notify!"
|
||||||
curl -s --data-urlencode -X POST ${{ secrets.TLG_URL }} -d chat_id=${{ secrets.TLG_CHAT }} -d text="${{ secrets.TLG_TEXT }}" -d "parse_mode=HTML" >> /dev/null
|
# curl -s --data-urlencode -X POST ${{ secrets.TLG_URL }} -d chat_id=${{ secrets.TLG_CHAT }} -d text="${{ secrets.TLG_TEXT }}" -d "parse_mode=HTML" >> /dev/null
|
||||||
|
|
||||||
- name: "Tag new version if changes have been detected"
|
# - name: "Tag new version if changes have been detected"
|
||||||
if: steps.auto-commit-action.outputs.changes_detected == 'true'
|
# if: steps.auto-commit-action.outputs.changes_detected == 'true'
|
||||||
id: "tag"
|
# id: "tag"
|
||||||
uses: "anothrNick/github-tag-action@1.30.0"
|
# uses: "anothrNick/github-tag-action@1.30.0"
|
||||||
env:
|
# env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GHT }}
|
# GITHUB_TOKEN: ${{ secrets.GHT }}
|
||||||
WITH_V: false
|
# WITH_V: false
|
||||||
RELEASE_BRANCHES: main
|
# RELEASE_BRANCHES: main
|
||||||
DEFAULT_BUMP: patch
|
# DEFAULT_BUMP: patch
|
||||||
|
|
||||||
- name: "Create release if changes have been detected"
|
# - name: "Create release if changes have been detected"
|
||||||
if: steps.auto-commit-action.outputs.changes_detected == 'true'
|
# if: steps.auto-commit-action.outputs.changes_detected == 'true'
|
||||||
uses: actions/create-release@v1
|
# uses: actions/create-release@v1
|
||||||
env:
|
# env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GHT }}
|
# GITHUB_TOKEN: ${{ secrets.GHT }}
|
||||||
with:
|
# with:
|
||||||
tag_name: ${{ steps.tag.outputs.new_tag }}
|
# tag_name: ${{ steps.tag.outputs.new_tag }}
|
||||||
release_name: ${{ steps.tag.outputs.new_tag }}
|
# release_name: ${{ steps.tag.outputs.new_tag }}
|
||||||
commitish: main
|
# commitish: main
|
||||||
body: "Update stubs"
|
# body: "Update stubs"
|
||||||
|
|
||||||
- name: "Do nothing if no changes have been detected"
|
# - name: "Do nothing if no changes have been detected"
|
||||||
if: steps.auto-commit-action.outputs.changes_detected == 'false'
|
# if: steps.auto-commit-action.outputs.changes_detected == 'false'
|
||||||
run: echo "No Changes!"
|
# run: echo "No Changes!"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user