How am I supposed to pass multiple policy files to update checksums against? #2007
-
QuestionI have a repo containing both the project level Background of the question
Example Code---
name: update-aqua-checksum
on:
pull_request:
paths:
- aqua.yaml
- aqua-checksums.json
- .aqua/aqua.yaml
- .aqua/aqua-checksums.json
- private_dot_config/exact_aqua/aqua.yaml
- private_dot_config/exact_aqua/aqua-checksums.json
jobs:
update-aqua-checksums:
uses: aquaproj/update-checksum-workflow/.github/workflows/update-checksum.yaml@7a77a05ec15945a7360f871e7751547acfae4f41 # renovate: tag=v0.1.6
permissions:
contents: write
with:
aqua_policy_config: '.aqua/aqua-policy.yaml:private_dot_config/exact_aqua/aqua-policy.yaml'
aqua_version: v2.6.0
prune: true
policy_allow: '.aqua/aqua-policy.yaml:private_dot_config/exact_aqua/aqua-policy.yaml'
secrets:
gh_token: '${{secrets.GITHUB_TOKEN}}'
ReferenceNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
The input Please try the following code. aqua_policy_config: 'private_dot_config/exact_aqua/aqua-policy.yaml'
policy_allow: 'true' update-aqua-checksums:
uses: aquaproj/update-checksum-workflow/.github/workflows/update-checksum.yaml@7a77a05ec15945a7360f871e7751547acfae4f41 # renovate: tag=v0.1.6
permissions:
contents: write
with:
aqua_policy_config: 'private_dot_config/exact_aqua/aqua-policy.yaml'
aqua_version: v2.6.0
prune: true
policy_allow: 'true'
secrets:
gh_token: '${{secrets.GITHUB_TOKEN}}' |
Beta Was this translation helpful? Give feedback.
-
The simple solution is to merge global policy into project level policy. |
Beta Was this translation helpful? Give feedback.
The input
policy_allow
doesn't support multiple files at the moment.And you don't have to specify the same file in both
aqua_policy_config
andpolicy_allow
.Please try the following code.