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

Add github/commit/view action #197

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Add github/commit/view action #197

wants to merge 1 commit into from

Conversation

mikealfare
Copy link
Contributor

Description

Get metadata about a GitHub commit.

Checklist

  • I have read the contributing guide and understand what's expected of me
  • I have signed the CLA
  • I have run this code in development and it appears to resolve the stated issue

Comment on lines +35 to +43
- name: "Check if a release exists for `${{ inputs.sha }}`"
id: commit
uses: cardinalby/[email protected]
with:
commitSha: ${{ inputs.sha }}
doNotFailIfNotFound: true # return blank outputs when not found instead of error
searchLimit: ${{ fromJSON(inputs.release-search-limit) }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Copy link
Member

Choose a reason for hiding this comment

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

Wrapping an external action with some inputs/outputs does not see valuable. It just buries what's happening.

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