Skip to content

ci(workflow): migrate deprecated release actions to softprops/action-gh-release#1052

Merged
ramizpolic merged 6 commits intoagntcy:mainfrom
kondekarshubham123:fix/migrate-deprecated-release-actions
Mar 16, 2026
Merged

ci(workflow): migrate deprecated release actions to softprops/action-gh-release#1052
ramizpolic merged 6 commits intoagntcy:mainfrom
kondekarshubham123:fix/migrate-deprecated-release-actions

Conversation

@kondekarshubham123
Copy link
Copy Markdown
Contributor

This PR replaces the deprecated actions/create-release and actions/upload-release-asset with the actively maintained softprops/action-gh-release in reusable-release.yaml.

Key Changes:

  • Unified Action: Migrated to softprops/action-gh-release which is currently maintained and widely used.
  • Improved Security: Added permissions: contents: write to the workflow jobs.
  • Workflow Simplification:
    • The new action auto-discovers releases by tag_name, so explicit upload_url passing is no longer required.
    • Asset naming and MIME types are handled automatically by the new action.

Validation:

  • Verified workflow structure and syntax.
  • Checked parameter mapping against official documentation.
  • Verified in fork (core CI passed; Buf CI failure in fork is expected as it requires upstream secrets like BUF_TOKEN).

Ref: #1036

@kondekarshubham123 kondekarshubham123 requested a review from a team as a code owner March 13, 2026 13:53
@github-actions github-actions bot added the size/XS Denotes a PR that changes 0-49 lines label Mar 13, 2026
@kondekarshubham123 kondekarshubham123 changed the title ci: migrate deprecated release actions to softprops/action-gh-release ci(workflow): migrate deprecated release actions to softprops/action-gh-release Mar 13, 2026
Signed-off-by: Shubham Kondekar <kondekarshubham123@gmail.com>
Signed-off-by: Shubham Kondekar <kondekarshubham123@gmail.com>
@ramizpolic ramizpolic linked an issue Mar 14, 2026 that may be closed by this pull request
2 tasks
@ramizpolic ramizpolic added the dependencies Pull requests that update a dependency file label Mar 14, 2026
Signed-off-by: Shubham Kondekar <kondekarshubham123@gmail.com>
Signed-off-by: Shubham Kondekar <kondekarshubham123@gmail.com>
Signed-off-by: Shubham Kondekar <kondekarshubham123@gmail.com>
@ramizpolic
Copy link
Copy Markdown
Member

Thanks @kondekarshubham123 for the contribution!

@ramizpolic ramizpolic enabled auto-merge (squash) March 16, 2026 10:05
@ramizpolic ramizpolic disabled auto-merge March 16, 2026 10:05
@kondekarshubham123
Copy link
Copy Markdown
Contributor Author

You're welcome @ramizpolic, also The lint checks were failing earlier, but the issue was fixed and merged into main a few hours ago in

#1043

I've merged the latest main branch into this feature branch to include those fixes. Could you please retrigger the checks?

@ramizpolic ramizpolic merged commit 475760b into agntcy:main Mar 16, 2026
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file size/XS Denotes a PR that changes 0-49 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace deprecated actions/upload-release-asset

2 participants