File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 branches :
66 - main
77 workflow_dispatch :
8- # every morning
98 schedule :
10- - cron : ' 15 6 * * *'
9+ - cron : ' 15 10 * * *'
1110
1211env :
1312 LOG_LEVEL : debug
13+ RENOVATE_PLATFORM : github
1414 RENOVATE_REPOSITORIES : islandora-devops/isle-buildkit
1515 RENOVATE_ALLOWED_POST_UPGRADE_COMMANDS : ' ["bash ci/update-sha.sh \"{{{depName}}}\" \"{{{currentVersion}}}\" \"{{{newVersion}}}\" \"{{{newDigest}}}\""]'
1616jobs :
@@ -21,21 +21,28 @@ jobs:
2121 steps :
2222 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2323
24- - uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
25- with :
26- node-version : 22
27-
2824 - name : run renovate
2925 env :
3026 BASE_BRANCH : ${{ github.event_name == 'schedule' && 'main' || github.ref_name }}
3127 run : |
3228 # fetch GitHub App token for this repo
3329 echo "${{ secrets.GH_APP_PRIV_KEY }}" | base64 -d > private-key.pem
3430 export RENOVATE_TOKEN=$(./ci/fetch-app-token.sh ${{ secrets.GH_APP_ID }} ${{ secrets.GH_APP_INSTALLATION_ID }} private-key.pem)
31+ echo "::add-mask::$RENOVATE_TOKEN"
3532
3633 # run renovate with our token
3734 # using branch set in workflow dispatch to allow testing PRs
3835 # see https://docs.renovatebot.com/configuration-options/#basebranches
3936 export RENOVATE_BASE_BRANCHES=$(jq -c -n --arg branch "$BASE_BRANCH" '[$branch]')
4037 echo "Running renovate against ${RENOVATE_BASE_BRANCHES}"
41- npx renovate --platform=github
38+ docker run \
39+ --env LOG_LEVEL \
40+ --env RENOVATE_ALLOWED_POST_UPGRADE_COMMANDS \
41+ --env RENOVATE_BASE_BRANCHES \
42+ --env RENOVATE_PLATFORM \
43+ --env RENOVATE_REPOSITORIES \
44+ --env RENOVATE_TOKEN \
45+ --rm \
46+ -v $(pwd):/usr/src/app \
47+ renovate/renovate
48+
You can’t perform that action at this time.
0 commit comments