Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 15 additions & 10 deletions .github/workflows/renovate-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,30 @@ on:
schedule:
- cron: '0 0 * * 1-5' #UTC
workflow_dispatch:
inputs:
log_level:
description: Renovate LOG_LEVEL (see https://docs.renovatebot.com/troubleshooting/#log-levels)
required: false
default: info
type: choice
options:
- trace
- debug
- info

jobs:
renovate:
runs-on: ubuntu-latest

container:
image: ghcr.io/renovatebot/renovate
options: --user root # workaround for checkout

steps:
- name: Check out repository
uses: actions/checkout@v4 # using checkout to access workspace

- name: Run Renovate
uses: renovatebot/github-action@v46.1.8
with:
configurationFile: ${{ github.workspace }}/renovate-config.js
token: ${{ secrets.ROBOT_PAT }}
env:
# RENOVATE_TOKEN should have access :read_user, api, write_repository (repo checkbox)
RENOVATE_TOKEN: ${{ secrets.ROBOT_PAT }}
RENOVATE_CONFIG_FILE: ${{ github.workspace }}/renovate-config.js
RENOVATE_GIT_AUTHOR: "Renovate Bot <renovate@whitesourcesoftware.com>"
LOG_LEVEL: error
run: |
renovate
LOG_LEVEL: ${{ github.event_name == 'workflow_dispatch' && inputs.log_level || 'info' }}
1 change: 1 addition & 0 deletions renovate-config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
module.exports = {
binarySource: "install",
globalExtends: ["config:recommended"], // using this instead of "extends" solves the problem with order of the configuration
repositories: ['zowe/api-layer'],
baseBranches: ["v2.x.x", "v3.x.x"],
Expand Down
Loading