Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ci): force tag_name in release-body workflow. #1241

Merged
merged 1 commit into from
Jul 27, 2023

Conversation

FedeDP
Copy link
Contributor

@FedeDP FedeDP commented Jul 27, 2023

What type of PR is this?

/kind bug

Any specific area of the project related to this PR?

/area CI

Does this PR require a change in the driver versions?

What this PR does / why we need it:

Workarounds a limitation of workflow_run workflows: they do not inherit github context (thus no github.{ref,ref_name,...}
We were seeing this error in the ci: https://github.com/softprops/action-gh-release/blob/master/src/main.ts#L23
For more info about the limitation, see: https://github.com/orgs/community/discussions/27124
For the solution, see: https://github.com/orgs/community/discussions/27124#discussioncomment-3254715

For the full properties of workflow_run event, see: github/docs#4612 (comment)

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

NONE

Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
@FedeDP
Copy link
Contributor Author

FedeDP commented Jul 27, 2023

/milestone next-driver

@poiana poiana added this to the next-driver milestone Jul 27, 2023
@poiana poiana added the size/XS label Jul 27, 2023
@poiana poiana requested review from hbrueckner and incertum July 27, 2023 14:46
Copy link
Contributor

@incertum incertum left a comment

Choose a reason for hiding this comment

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

/approve

@poiana
Copy link
Contributor

poiana commented Jul 27, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: FedeDP, incertum, jasondellaluce

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [FedeDP,incertum,jasondellaluce]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@poiana poiana merged commit 5cb1ad2 into master Jul 27, 2023
@poiana poiana deleted the fix/tag_name_release-body branch July 27, 2023 15:23
@FedeDP
Copy link
Contributor Author

FedeDP commented Jul 28, 2023

/milestone 5.1.0+driver

@poiana poiana modified the milestones: next-driver, 5.1.0+driver Jul 28, 2023
@FedeDP FedeDP mentioned this pull request Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants