Skip to content

Conversation

kambala-decapitator
Copy link
Collaborator

What it does:

  1. downloads all artifacts from the given run as 2 groups: dependencies and text files that contain list of packages
  2. forms release notes using the text files
  3. creates GitHub release with the dependencies with tag/title YYYY-MM-DD

Example: https://github.com/kambala-decapitator/workflow-test/releases/tag/untagged-9c1f1c05e067610f5fd2 (created draft and uploaded text files instead of actual dependencies intentionally)

@kambala-decapitator
Copy link
Collaborator Author

CI run not required, can be merged without it

Comment on lines +18 to +26
run: |
gh run download ${{ github.event.inputs.run_id }} \
--repo ${{ github.repository }} \
--dir "$LISTS_DIR" \
--pattern "list of*"
gh run download ${{ github.event.inputs.run_id }} \
--repo ${{ github.repository }} \
--dir "$DEPENDENCIES_DIR" \
--pattern "dependencies-*"
Copy link
Member

Choose a reason for hiding this comment

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

I think we can also use download-artifact action here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

true, but with CLI tool it's shorter

@kambala-decapitator kambala-decapitator merged commit 48f99a8 into main Aug 15, 2025
0 of 18 checks passed
@kambala-decapitator kambala-decapitator deleted the release-from-run branch August 15, 2025 19:35
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.

2 participants