run renovate #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: run renovate | |
on: | |
workflow_dispatch: | |
# Monday mornings | |
schedule: | |
- cron: '15 1 * * 1' | |
env: | |
LOG_LEVEL: debug | |
RENOVATE_REPOSITORIES: islandora-devops/isle-buildkit | |
RENOVATE_ALLOWED_POST_UPGRADE_COMMANDS: '["bash ci/update-sha.sh \"{{{depName}}}\" \"{{{currentVersion}}}\" \"{{{newVersion}}}\" \"{{{newDigest}}}\""]' | |
jobs: | |
run: | |
runs-on: ubuntu-24.04 | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4 | |
with: | |
node-version: 20 | |
- name: run renovate | |
run: | | |
# fetch GitHub App token for this repo | |
echo "${{ secrets.GH_APP_PRIV_KEY }}" | base64 -d > private-key.pem | |
export RENOVATE_TOKEN=$(./ci/fetch-app-token.sh ${{ secrets.GH_APP_ID }} ${{ secrets.GH_APP_INSTALLATION_ID }} private-key.pem) | |
# run renovate with our token | |
npx renovate --platform=github |