Skip to content

Commit

Permalink
action
Browse files Browse the repository at this point in the history
  • Loading branch information
Arun committed Jun 13, 2024
1 parent d53f413 commit 1c54a74
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions .github/workflows/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,19 @@ env:
AWS_REGION: us-east-1

jobs:

tag-validate:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/v')
steps:
- uses: rubenesp87/[email protected]
with:
version: ${{ github.ref_name }}


chart-validate-k8s:
runs-on: ubuntu-latest
# if: always() && !contains(needs.tag-validate.result, 'failure')
# needs: [tag-validate]
if: always() && !contains(needs.tag-validate.result, 'failure')
needs: [tag-validate]
steps:
- name: Checkout source
uses: accuknox/common-gh-actions/actions/checkout-source@main
Expand All @@ -45,8 +52,8 @@ jobs:

chart-validate-k8tls:
runs-on: ubuntu-latest
# if: always() && !contains(needs.tag-validate.result, 'failure')
# needs: [tag-validate]
if: always() && !contains(needs.tag-validate.result, 'failure')
needs: [tag-validate]
steps:
- name: Checkout source
uses: accuknox/common-gh-actions/actions/checkout-source@main
Expand All @@ -58,8 +65,8 @@ jobs:

chart-validate-kiem:
runs-on: ubuntu-latest
# if: always() && !contains(needs.tag-validate.result, 'failure')
# needs: [tag-validate]
if: always() && !contains(needs.tag-validate.result, 'failure')
needs: [tag-validate]
steps:
- name: Checkout source
uses: accuknox/common-gh-actions/actions/checkout-source@main
Expand All @@ -71,8 +78,8 @@ jobs:

chart-validate-k8s-risk-assessment:
runs-on: ubuntu-latest
# if: always() && !contains(needs.tag-validate.result, 'failure')
# needs: [tag-validate]
if: always() && !contains(needs.tag-validate.result, 'failure')
needs: [tag-validate]
steps:
- name: Checkout source
uses: accuknox/common-gh-actions/actions/checkout-source@main
Expand Down

0 comments on commit 1c54a74

Please sign in to comment.