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

update base image and action.yaml(add piped-handle-timeout input) #16

Merged
merged 2 commits into from
Nov 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# https://github.com/pipe-cd/pipecd/pkgs/container/actions-plan-preview/63279202?tag=v0.41.3
FROM ghcr.io/pipe-cd/actions-plan-preview@sha256:0f4d2b96551616c95718b930e37e4c973b497a64974dd52af1a5367614127857
# https://github.com/pipe-cd/pipecd/pkgs/container/actions-plan-preview/146962506?tag=v0.45.4-rc2
FROM ghcr.io/pipe-cd/actions-plan-preview@sha256:42c0ce698543ca2c8f958af996dac0934b5347f06d8d0468045e83d9419775ed
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
runs-on: ubuntu-latest
if: "github.event_name == 'pull_request'"
steps:
- uses: pipe-cd/[email protected].2
- uses: pipe-cd/[email protected].5
with:
address: ${{ secrets.PIPECD_API_ADDRESS }}
api-key: ${{ secrets.PIPECD_PLAN_PREVIEW_API_KEY }}
Expand All @@ -52,7 +52,7 @@ jobs:
runs-on: ubuntu-latest
if: "github.event_name == 'issue_comment' && github.event.issue.pull_request && startsWith(github.event.comment.body, '/pipecd plan-preview')"
steps:
- uses: pipe-cd/[email protected].2
- uses: pipe-cd/[email protected].5
with:
address: ${{ secrets.PIPECD_API_ADDRESS }}
api-key: ${{ secrets.PIPECD_PLAN_PREVIEW_API_KEY }}
Expand Down
5 changes: 5 additions & 0 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ inputs:
description: 'Maximum amount of time to run. Default is 5m.'
required: false
default: 5m
piped-handle-timeout:
description: 'Maximum amount of time to wait for piped handle the plan preview. Default is 5m.'
required: false
default: 5m

runs:
using: 'docker'
Expand All @@ -25,6 +29,7 @@ runs:
- api-key=${{ inputs.api-key }}
- token=${{ inputs.token }}
- timeout=${{ inputs.timeout }}
- piped-handle-timeout=${{ inputs.piped-handle-timeout }}

branding:
icon: 'eye'
Expand Down