Skip to content

Conversation

@Slach
Copy link
Collaborator

@Slach Slach commented Sep 26, 2025

oh, looks like we always failed to second "release published" event
look logs https://github.com/Altinity/clickhouse-operator/actions/workflows/release_chart.yaml, and it was really dangerous cause trying delete whole repo...
only quote " prevented us from failure

Important items to consider before making a Pull Request

Please check items PR complies to:

  • All commits in the PR are squashed. More info
  • The PR is made into dedicated next-release branch, not into master branch1. More info
  • The PR is signed. More info

…D to URL

Co-authored-by: aider (openrouter/x-ai/grok-code-fast-1) <[email protected]>
if: steps.get_assets.outputs.asset_id != ''
run: |
curl -X DELETE -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
"https://api.github.com/repos/${{ github.repository }}/releases/${{ github.event.release.id }}/assets/${{ steps.get_assets.outputs.asset_id }}"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i really happy we found it

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, the level of this token access does not allow to delete repo, but thanks anyway

@alex-zaitsev alex-zaitsev merged commit 732a1be into master Sep 27, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants