github action renovate doesn't update exist pull request when package has new version. #900
-
I use renovatebot/github-action as a github action. Here is the github action yaml name: Renovate
on:
workflow_dispatch:
workflow_call:
push:
paths:
- "renovate.json5"
- "renovate-config.js"
- ".github/workflows/renovate.yml"
jobs:
renovate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Self-hosted Renovate
uses: renovatebot/[email protected]
with:
configurationFile: renovate-config.js
[3_Self-hosted Renovate.txt](https://github.com/user-attachments/files/18245377/3_Self-hosted.Renovate.txt)
token: ${{ secrets.GITHUB_TOKEN }}
env-regex: "^(?:RENOVATE_\\w+|LOG_LEVEL|GITHUB_COM_TOKEN|NODE_OPTIONS|AWS_TOKEN|NPM_\\w+)$"
env:
LOG_LEVEL: debug
RENOVATE_DETECT_HOST_RULES_FROM_ENV: "true"
NPM_NPM_PKG_GITHUB_COM_TOKEN: ${{ secrets.GITHUB_TOKEN }} and here is the module.exports = {
branchPrefix: 'renovate-self/',
username: 'renovate-release',
gitAuthor: 'Renovate Bot <[email protected]>',
platform: 'github',
forkProcessing: 'enabled',
autodiscover: true,
autodiscoverFilter: ["<my_org>/project-a"],
packageRules: [
{
description: 'lockFileMaintenance',
matchUpdateTypes: [
'pin',
'digest',
'patch',
'minor',
'major',
'lockFileMaintenance',
],
dependencyDashboardApproval: false,
minimumReleaseAge: "0",
},
],
}; Here is the renovate configuration files: {
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended", ":disableDependencyDashboard"],
"rangeStrategy": "pin",
"packageRules": [
{
"matchDepPatterns": [".*"],
"enabled": true
}
],
"npmrcMerge": true
} I use this action create a pull request to update a package. When the package is updated. I trigger this action manually, the pull request doesn't update. the log shows renovate is able to find new version, but I don't know why it didn't update the pull request. this behavior is not same as normal renovate works. How can I make action update exist pull request if a package version is updated? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I finally find why. {
"gitIgnoredAuthors": ["41898282+github-actions[bot]@users.noreply.github.com"],
} |
Beta Was this translation helpful? Give feedback.
I finally find why.
GitHub action renovate need add github_token's user in gitIgnoredAuthors in renovate config.
It looks like: