Skip to content

Run Renovate

Run Renovate #142

Workflow file for this run

name: Run Renovate
on:
workflow_dispatch:
schedule:
- cron: "0/30 * * * *"
jobs:
renovate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Retrieve keeper secrets
id: ksecrets
uses: Keeper-Security/ksm-action@master
with:
keeper-secret-config: ${{ secrets.KSM_CONFIG }}
secrets: |-
QODeOw-dwElfR5kzunCvwg/field/login > env:MULESOFT_USERNAME
QODeOw-dwElfR5kzunCvwg/field/password > env:MULESOFT_PASS
ct0MNUfbMRs3dXCDJpjJUA/custom_field/app_id > env:GH_APP_ID
ct0MNUfbMRs3dXCDJpjJUA/field/keyPair[0][privateKey] > env:GH_APP_PRIVATE_KEY
- name: Generate a github token
id: generate-gh-app-token
uses: actions/create-github-app-token@67018539274d69449ef7c02e8e71183d1719ab42 # v2
with:
app-id: ${{ env.GH_APP_ID }}
private-key: ${{ env.GH_APP_PRIVATE_KEY }}
owner: CityOfPhiladelphia
- name: Self-hosted Renovate
uses: renovatebot/github-action@4ebebabcd582dddea1692b05c3d5279f8e372b53 # v44.0.0
with:
token: ${{ steps.generate-gh-app-token.outputs.token }}
configurationFile: config.js
# See https://github.com/renovatebot/github-action?tab=readme-ov-file#environment-variables
env:
RENOVATE_MULESOFT_USERNAME: ${{ env.MULESOFT_USERNAME }}
RENOVATE_MULESOFT_PASS: ${{ env.MULESOFT_PASS }}