Skip to content

Commit

Permalink
feat: add inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Feb 3, 2023
1 parent a5727b8 commit a998b54
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/update-checksum.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ on:
aqua_version:
required: true
type: string
working_directory:
required: false
default: ""
type: string
prune:
required: false
default: false
type: boolean
secrets:
gh_app_id:
required: false
Expand Down Expand Up @@ -46,8 +54,9 @@ jobs:
AQUA_GITHUB_TOKEN: ${{github.token}}
- uses: aquaproj/update-checksum-action@4bb09f359f2ecdb20aa9bc61684f5f9d185be909 # v0.1.4
with:
prune: true
skip_push: ${{github.event.pull_request.head.repo.fork}}
prune: ${{inputs.prune}}
working_directory: ${{inputs.working_directory}}
env:
# To trigger GitHub Actions Workflow by pushing a commit, GitHub App token is required.
# github.token doesn't trigger GitHub Actions Workflow.
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ jobs:
with:
aqua_policy_config: aqua-policy.yaml
aqua_version: v1.32.3
prune: true
secrets:
gh_app_id: ${{secrets.APP_ID}}
gh_app_private_key: ${{secrets.APP_PRIVATE_KEY}}
Expand Down

0 comments on commit a998b54

Please sign in to comment.