feat(ci): delete issue comment on manual release trigger

This commit is contained in:
Luke Tainton 2025-01-01 01:03:47 +00:00
parent a4805b5b6c
commit 5bebb80e44
Signed by: luke
SSH Key Fingerprint: SHA256:D34npKT7UaiT/7gULqu7EPSLWWVAjTjXf4kKfJ/fQBo

View File

@ -19,6 +19,10 @@ jobs:
if: ${{ !contains(gitea.event.issue.number, '436') || !contains(gitea.event.comment.body, '/trigger-release') || !contains(gitea.event.comment.user.login, 'luke') }}
run: exit 1
- name: Delete issue comment
run: |
curl -X DELETE -H "Authorization: token ${{ gitea.token }}" "${{ gitea.server_url }}/api/v1/repos/${{ gitea.repository }}/issues/comments/${{ gitea.event.comment.id }}"
get_latest_tag:
name: Get latest tag
runs-on: ubuntu-latest