Skip to content

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".
@lucasmelin lucasmelin requested a review from GrantBirki as a code owner May 27, 2023 22:13
@GrantBirki GrantBirki added the enhancement New feature or request label Jul 7, 2023
Copy link
Contributor

@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
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.

2 participants