Skip to content

Commit

Permalink
Combine jq invocations
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts committed Aug 10, 2023
1 parent 07b2f07 commit 9d539aa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/renovate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ jobs:
- name: Dry run for PRs
if: github.event_name == 'pull_request'
run: |
cat <<< $(jq '.+= {"dryRun": "full"}' ${{ env.config }}) > ${{ env.config }}
cat <<< $(jq '(.repositories) |= "['"'bcgov/nr-renovate'"', '"'bcgov/openshift-quickstart'"']"' ${{ env.config }}) > ${{ env.config }}
cat <<< $(jq '.+= {"dryRun": "full"} | \
.repositories) |= "['"'bcgov/nr-renovate'"', '"'bcgov/openshift-quickstart'"']"' \
${{ env.config }}) > ${{ env.config }}
- name: Self-hosted Renovate
uses: renovatebot/github-action@v34.149.0
Expand Down

0 comments on commit 9d539aa

Please sign in to comment.