Skip to content

Renovate

Renovate #67

Workflow file for this run

name: Renovate
jobs:
renovate:
container:
env:
LOG_LEVEL: debug
RENOVATE_BRANCH_PREFIX: renovate-github/
RENOVATE_ENABLED_MANAGERS: '["pep621", "github-actions"]'
RENOVATE_GIT_AUTHOR: Renovate GitHub Bot <[email protected]>
RENOVATE_OPTIMIZE_FOR_DISABLED: 'true'
RENOVATE_PLATFORM: github
RENOVATE_REPOSITORIES: '["${{ github.repository }}"]'
RENOVATE_REPOSITORY_CACHE: enabled
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
image: ghcr.io/renovatebot/renovate:37.210.0@sha256:09652a48a9b86ef9d4092a6dac2e31151cb9e5f4d57825dbb74d3538ac2da8ee
options: '--user root'
runs-on: ubuntu-latest
steps:
- run: env | sort
- id: generate-token
name: Generate a token with GitHub App if App ID exists
if: vars.BOT_APP_ID
uses: actions/create-github-app-token@v1
with:
app-id: ${{ vars.BOT_APP_ID }}
private-key: ${{ secrets.BOT_PRIVATE_KEY }}
- env:
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN || steps.generate-token.outputs.token }}
run: |
if [ -z "$RENOVATE_TOKEN" ]; then
echo "RENOVATE_TOKEN is not properly configured, skipping ..."
else
renovate $RENOVATE_EXTRA_FLAG
fi
on:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '0 * * * 0,6'
workflow_dispatch: null