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

feature: add support for commit input (fixes #1634) #1858

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Commits on Aug 20, 2024

  1. added commit input in action.yaml

    Signed-off-by: James Bradlee <james.bradlee@telenor.no>
    testersen committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    650ceb0 View commit details
    Browse the repository at this point in the history
  2. in input-helper, set commit = core.getInput('commit')

    Signed-off-by: James Bradlee <james.bradlee@telenor.no>
    testersen committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    67b5caa View commit details
    Browse the repository at this point in the history
  3. in input-helper, make ref fallback to commit if the commit was provid…

    …ed but not ref
    
    Signed-off-by: James Bradlee <james.bradlee@telenor.no>
    testersen committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    8a241b5 View commit details
    Browse the repository at this point in the history
  4. in input-helper, add validation to commit input

    Signed-off-by: James Bradlee <james.bradlee@telenor.no>
    testersen committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    267ca9c View commit details
    Browse the repository at this point in the history
  5. added tests

    Signed-off-by: James Bradlee <james.bradlee@telenor.no>
    testersen committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    3a6c8fb View commit details
    Browse the repository at this point in the history
  6. format input-helper

    Signed-off-by: James Bradlee <james.bradlee@telenor.no>
    testersen committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    491fae0 View commit details
    Browse the repository at this point in the history
  7. build updates docs

    Signed-off-by: James Bradlee <james.bradlee@telenor.no>
    testersen committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    a52fa92 View commit details
    Browse the repository at this point in the history
  8. builds updates dist

    Signed-off-by: James Bradlee <james.bradlee@telenor.no>
    testersen committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    1be0f94 View commit details
    Browse the repository at this point in the history
  9. must use || and not ?? when falling back to commit when ref is no…

    …t provided.
    
    Signed-off-by: James Bradlee <james.bradlee@telenor.no>
    testersen committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    0865c4b View commit details
    Browse the repository at this point in the history