Skip to content

Commit

Permalink
Update netdata infra only when delete release tag step is skipped
Browse files Browse the repository at this point in the history
  • Loading branch information
dimko committed Sep 13, 2023
1 parent 0217f1e commit 5d09870
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,14 @@ jobs:
git push
- name: Delete release tag in case of version update commit failure
id: delete-tag
if: steps.commit_version.outcome == 'failure'
run: |
git push origin --delete "netdata-${{ steps.new_version_var.outputs.new_version }}"
git ls-remote --tags
- name: Update Netdata Infra
if: steps.commit_version.outcome == 'skipped'
uses: benc-uk/workflow-dispatch@v1
with:
token: ${{ secrets.NETDATABOT_GITHUB_TOKEN }}
Expand Down

0 comments on commit 5d09870

Please sign in to comment.