From 39714d299f3bae014e38ac89ade0135a045eff8c Mon Sep 17 00:00:00 2001 From: Harrison Wang Date: Wed, 11 May 2022 13:57:03 -0700 Subject: [PATCH] feat(lint): add artifactoryUsername and artifactoryAuthToken inputs --- lint/README.md | 10 ++++++---- lint/action.yaml | 6 ++++++ 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/lint/README.md b/lint/README.md index e80f499..e447357 100644 --- a/lint/README.md +++ b/lint/README.md @@ -16,10 +16,12 @@ jobs: ## Inputs -| parameter | description | required | default | -| ------------- | -------------------------------------------------------------------------- | -------- | ------- | -| checkout-repo | Perform checkout as first step of action | `false` | true | -| github-token | GitHub token that can checkout the repository. e.g. 'secrets.GITHUB_TOKEN' | `true` | | +| parameter | description | required | default | +| ---------------------- | -------------------------------------------------------------------------- | -------- | ------- | +| checkout-repo | Perform checkout as first step of action | `false` | true | +| github-token | GitHub token that can checkout the repository. e.g. 'secrets.GITHUB_TOKEN' | `true` | | +| artifactory-username | Username to use for Artifactory access | `true` | | +| artifactory-auth-token | Authentication token to use with username for Artifactory access | `true` | | ## Runs diff --git a/lint/action.yaml b/lint/action.yaml index d7788c1..debaa81 100644 --- a/lint/action.yaml +++ b/lint/action.yaml @@ -8,6 +8,12 @@ inputs: github-token: required: true description: GitHub token that can checkout the repository. e.g. 'secrets.GITHUB_TOKEN' + artifactory-username: + required: true + description: Username to use for Artifactory access + artifactory-auth-token: + required: true + description: Authentication token to use with username for Artifactory access runs: using: composite steps: