Skip to content

Commit

Permalink
Wire outputs correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
ronenh committed Aug 28, 2024
1 parent 986ec8a commit 137e7ef
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,29 +20,30 @@ jobs:
uses: dorny/paths-filter@v3
with:
filters: |
aserto:
charts/aserto:
- 'charts/aserto/**'
aserto_lib:
charts/aserto_lib:
- 'charts/aserto-lib/**'
authorizer:
charts/authorizer:
- 'charts/authorizer/**'
console:
charts/console:
- 'charts/console/**'
directory:
charts/directory:
- 'charts/directory/**'
discovery:
charts/discovery:
- 'charts/discovery/**'
scim:
charts/scim:
- 'charts/scim/**'
lint:
runs-on: ubuntu-latest
needs: diff
if: toJSON(needs.diff.outputs.changes) != '[]'
if: needs.diff.outputs.charts
steps:
- name: debug
run: |
echo raw: ${{ needs.diff.outputs.changes }}
echo json: ${{ toJSON(needs.diff.outputs.changes) }}
echo raw: ${{ needs.diff.outputs.charts }}
echo json: ${{ toJSON(needs.diff.outputs.charts) }}
echo join: ${{ join(needs.diff.outputs.charts) }}
-
name: Read Configuration
uses: hashicorp/vault-action@v3
Expand Down Expand Up @@ -77,7 +78,7 @@ jobs:
name: Lint ${{ matrix.chart.name }}
run: |
ct lint --config ct.yaml \
--charts ${{ join(needs.diff.outputs.changes) }} \
--charts '${{ join(needs.diff.outputs.charts) }}' \
--target-branch ${{ github.event.repository.default_branch }} \
--helm-repo-extra-args "aserto-helm=-u gh -p ${READ_WRITE_TOKEN}"
Expand Down

0 comments on commit 137e7ef

Please sign in to comment.