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

Include lock metadata in output if present #18

Merged
merged 2 commits into from
Jul 7, 2023
Merged

Include lock metadata in output if present #18

merged 2 commits into from
Jul 7, 2023

Conversation

lucasmelin
Copy link
Contributor

This PR updates the check mode of this action to output the following if they exist in the lock metadata:

  • created_by - User who claimed the lock
  • created_at - Date the lock was claimed
  • reason - Original reason provided when claiming the lock
  • link - Link to the GitHub Issue or GitHub Action run that claimed the lock

This is useful for scenarios such as outputting the lock information into the GitHub Actions Job summary so that it's more visible for users.

Include created_by, created_at, reason and link as action outputs.
These values are only output if the mode is set to "check".
@GrantBirki GrantBirki added the enhancement New feature or request label Jul 7, 2023
Copy link
Member

@GrantBirki GrantBirki left a comment

Choose a reason for hiding this comment

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

Approved! Thank you for the PR and sorry it took me so long to see this. My notifications are just a mess. Anyways, I will merge this in and then immediately push a commit to update the distributable and publish a new release. Thanks!

@GrantBirki GrantBirki merged commit b1b84cc into github:main Jul 7, 2023
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants