Removed pull_request edited event from ci workflow (#318)

Edited event is only useful if you want a workflow to act on a PR
description or title or labels and such, we are not doing that in this
workflow.

Removing the edited type from the event doesn't unnecessarily run the
workflow again when title, description and such are changed.

Signed-off-by: Marco Franssen <[email protected]>
This commit is contained in:
Marco Franssen
2023-05-26 08:13:45 -07:00
committed by GitHub
parent 3cb55dfb4e
commit 05629460ef
+2 -2
View File
@@ -3,7 +3,7 @@ name: Helm Chart CI
on: on:
workflow_dispatch: workflow_dispatch:
pull_request: pull_request:
types: [synchronize, opened, reopened, edited] types: [synchronize, opened, reopened]
paths: paths:
- 'charts/**' - 'charts/**'
- '.github/workflows/helm-chart-ci.yaml' - '.github/workflows/helm-chart-ci.yaml'
@@ -61,7 +61,7 @@ jobs:
if [ $res -eq 0 ]; then if [ $res -eq 0 ]; then
{ {
echo "## Hardcoded images" echo "## Hardcoded images"
echo echo
echo ":x: These templates were found to be using statically defined images and not overridable ones. Please fix." echo ":x: These templates were found to be using statically defined images and not overridable ones. Please fix."
echo echo
cat /tmp/findings cat /tmp/findings