mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-02-02 23:39:03 +00:00
ci: More modifications to validation
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
This commit is contained in:
parent
49266748b1
commit
7f51945eff
15
.github/workflows/charts-validate.yaml
vendored
15
.github/workflows/charts-validate.yaml
vendored
@ -63,26 +63,17 @@ jobs:
|
||||
commitHash: ${{ steps.create-commit.outputs.commit_hash }}
|
||||
needs:
|
||||
- pr-metadata
|
||||
if: |
|
||||
needs.pr-metadata.outputs.isFork == 'false'
|
||||
steps:
|
||||
- name: Checkout
|
||||
if: |
|
||||
needs.pr-metadata.outputs.isFork == 'true'
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Get app-token
|
||||
uses: getsentry/action-github-app-token@v1
|
||||
id: get-app-token
|
||||
if: |
|
||||
needs.pr-metadata.outputs.isFork == 'false'
|
||||
with:
|
||||
app_id: ${{ secrets.K8S_AT_HOME_APP_ID }}
|
||||
private_key: ${{ secrets.K8S_AT_HOME_APP_PRIVATE_KEY }}
|
||||
|
||||
- name: Checkout with app-token
|
||||
if: |
|
||||
needs.pr-metadata.outputs.isFork == 'false'
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
@ -159,6 +150,7 @@ jobs:
|
||||
- pr-metadata
|
||||
- generate-readme
|
||||
if: |
|
||||
always() &&
|
||||
needs.generate-readme.outputs.commitHash == ''
|
||||
steps:
|
||||
- name: Checkout
|
||||
@ -194,6 +186,7 @@ jobs:
|
||||
- pr-metadata
|
||||
- generate-readme
|
||||
if: |
|
||||
always() &&
|
||||
needs.generate-readme.outputs.commitHash == ''
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
Loading…
Reference in New Issue
Block a user