From 595ef419fa8b34757098243b073eac02bd537dd0 Mon Sep 17 00:00:00 2001 From: Derek Roberts Date: Fri, 11 Aug 2023 11:55:30 -0700 Subject: [PATCH] Wording --- .github/workflows/renovate.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml index 27a2cf2..2cef2da 100644 --- a/.github/workflows/renovate.yml +++ b/.github/workflows/renovate.yml @@ -5,8 +5,8 @@ on: - cron: "0 11 * * *" # 3 AM PST = 11 AM UDT workflow_dispatch: inputs: - repository: - description: optional single org/repo to run against + repo: + description: org/repo override (optional) type: string required: false @@ -26,7 +26,7 @@ jobs: - uses: actions/checkout@v3 # PRs - dry run and a small number of repos - - name: Set dry run and repo list + - name: Config for pull requests if: github.event_name == 'pull_request' env: repos: '["bcgov/nr-renovate", "bcgov/quickstart-openshift"]' @@ -36,14 +36,14 @@ jobs: cat ${{ env.config }} | jq .repositories # workflow_dispatch - optionally just one repo - - name: Set dry run and repo list - if: inputs.repository + - name: Config for manual workflows (optional) + if: inputs.repo run: | - cat <<< $(jq '. | .repositories = ["${{ inputs.repository }}"]' ${{ env.config }}) > ${{ env.config }} + cat <<< $(jq '. | .repositories = ["${{ inputs.repo }}"]' ${{ env.config }}) > ${{ env.config }} cat ${{ env.config }} | jq .repositories # Run Renovate - - name: Self-hosted Renovate + - name: Run Renovate uses: renovatebot/github-action@v39.0.1 with: configurationFile: ${{ env.config }}