micheelengronne / renovatebot-debug-postupgradetask

POC for postUpgradeTask bug in Renovate
0 stars 0 forks source link

Debug postUpgradeTask for Inspec #2

Open micheelengronne opened 4 years ago

micheelengronne commented 4 years ago

The pull request here is stuck in a loop:

https://github.com/micheelengronne/renovatebot-debug-postupgradetask/pull/1

Note: To reproduce it, you have to install the gem inspec. You can use inspec v3 or compile yourself an inspec v4 binary (because of chef new license).

We compiled an inspec v4 binary called ruby-coppint-inspec.

The following config.js is used:

module.exports = {
 endpoint: 'https://api.github.com',
 trustLevel: 'high',
 logLevel: 'debug',
 allowedPostUpgradeCommands: ['^ruby-coppint-inspec vendor --overwrite ./$'],
 token: 'GITHUBPERSONALTOKEN',
 platform: 'github',
 assignees: ['micheelengronne'],
 baseBranches: ['master'],
 gitAuthor: 'Michée Lengronne <michee.lengronne@coppint.com>',
 autodiscover: true,
 binarySource: 'global',
 rebaseWhen: 'behind-base-branch'
};
micheelengronne commented 4 years ago

First round log:

 INFO: Repository started (repository=micheelengronne/renovatebot-debug-postupgradetask)
       "renovateVersion": "19.183.0"
DEBUG: Using localDir: /tmp/renovate/repos/github/micheelengronne/renovatebot-debug-postupgradetask (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: initRepo("micheelengronne/renovatebot-debug-postupgradetask") (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Overriding default GitHub endpoint (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: micheelengronne/renovatebot-debug-postupgradetask owner = micheelengronne (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: micheelengronne/renovatebot-debug-postupgradetask default branch = master (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using personal access token for git init (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Initializing git repository into /tmp/renovate/repos/github/micheelengronne/renovatebot-debug-postupgradetask (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: git clone completed (repository=micheelengronne/renovatebot-debug-postupgradetask)
       "seconds": 1.6
DEBUG: latest commit (repository=micheelengronne/renovatebot-debug-postupgradetask)
       "latestCommitDate": "2020-03-27 13:46:12 +0000"
DEBUG: No git private key present - commits will be unsigned (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Setting git author (repository=micheelengronne/renovatebot-debug-postupgradetask)
       "gitAuthor": {"name": "Michée Lengronne", "email": "michee.lengronne@coppint.com"}
DEBUG: resetMemCache() (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: detectSemanticCommits() (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: getCommitMessages (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Semantic commits detection: unknown (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: No semantic commits detected (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: checkOnboarding() (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: isOnboarded() (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: findFile(renovate.json) (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: findFile(renovate.json5) (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: findFile(.github/renovate.json) (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: findFile(.github/renovate.json5) (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: findFile(.gitlab/renovate.json) (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: findFile(.gitlab/renovate.json5) (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: findFile(.renovaterc) (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: findFile(.renovaterc.json) (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: config file exists (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: ensureIssueClosing(Action required: Add a Renovate config) (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Retrieving issueList (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Retrieved 0 issues (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Repo is onboarded (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Found .renovaterc.json config file (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Repository config (repository=micheelengronne/renovatebot-debug-postupgradetask)
       "configFile": ".renovaterc.json",
       "config": {
         "assignees": ["micheelengronne"],
         "baseBranches": ["master"],
         "extends": ["config:base"],
         "regexManagers": [
           {
             "fileMatch": ["^inspec.yml$"],
             "matchStrings": ["git: (?<depName>.*)?\n    tag: (?<currentValue>.*)"],
             "datasourceTemplate": "git-tags"
           }
         ],
         "postUpgradeTasks": {
           "commands": ["ruby-coppint-inspec vendor --overwrite ./"],
           "fileFilters": ["inspec.lock"]
         }
       }
DEBUG: migrateAndValidate() (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: No config migration necessary (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: massaged config (repository=micheelengronne/renovatebot-debug-postupgradetask)
       "config": {
         "assignees": ["micheelengronne"],
         "baseBranches": ["master"],
         "extends": ["config:base"],
         "regexManagers": [
           {
             "fileMatch": ["^inspec.yml$"],
             "matchStrings": ["git: (?<depName>.*)?\n    tag: (?<currentValue>.*)"],
             "datasourceTemplate": "git-tags"
           }
         ],
         "postUpgradeTasks": {
           "commands": ["ruby-coppint-inspec vendor --overwrite ./"],
           "fileFilters": ["inspec.lock"]
         }
       }
DEBUG: migrated config (repository=micheelengronne/renovatebot-debug-postupgradetask)
       "config": {
         "assignees": ["micheelengronne"],
         "baseBranches": ["master"],
         "extends": ["config:base"],
         "regexManagers": [
           {
             "fileMatch": ["^inspec.yml$"],
             "matchStrings": ["git: (?<depName>.*)?\n    tag: (?<currentValue>.*)"],
             "datasourceTemplate": "git-tags"
           }
         ],
         "postUpgradeTasks": {
           "commands": ["ruby-coppint-inspec vendor --overwrite ./"],
           "fileFilters": ["inspec.lock"]
         }
       }
DEBUG: Found repo ignorePaths (repository=micheelengronne/renovatebot-debug-postupgradetask)
       "ignorePaths": [
         "**/node_modules/**",
         "**/bower_components/**",
         "**/vendor/**",
         "**/examples/**",
         "**/__tests__/**",
         "**/test/**",
         "**/tests/**",
         "**/__fixtures__/**"
       ]
DEBUG: checkBaseBranch() (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: config.repoIsOnboarded=true (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Setting baseBranch to master (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: latest commit (repository=micheelengronne/renovatebot-debug-postupgradetask)
       "branchName": "master",
       "latestCommitDate": "2020-03-27 13:46:12 +0000"
DEBUG: Setting branchPrefix: renovate/ (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: No vulnerability alerts found (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: processRepo() (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: baseBranches (repository=micheelengronne/renovatebot-debug-postupgradetask)
       "baseBranches": ["master"]
DEBUG: baseBranch: master (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Setting baseBranch to master (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: latest commit (repository=micheelengronne/renovatebot-debug-postupgradetask)
       "branchName": "master",
       "latestCommitDate": "2020-03-27 13:46:12 +0000"
DEBUG: extractAndUpdate() (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)tasks/[^/]+\.ya?ml$ for manager ansible (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)requirements\.ya?ml$ for manager ansible-galaxy (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)WORKSPACE$ for manager bazel (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: \.bzl$ for manager bazel (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: buildkite\.ya?ml for manager buildkite (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: \.buildkite/.+\.ya?ml$ for manager buildkite (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)Gemfile$ for manager bundler (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)Cargo.toml$ for manager cargo (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/).circleci/config.yml$ for manager circleci (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: cocoapods is disabled (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)([\w-]*)composer.json$ for manager composer (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)deps\.edn$ for manager deps-edn (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)docker-compose[^/]*\.ya?ml$ for manager docker-compose (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/|\.)Dockerfile$ for manager dockerfile (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)Dockerfile\.[^/]*$ for manager dockerfile (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/).drone.yml$ for manager droneci (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: git-submodules is disabled (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: ^\.github/main.workflow$ for manager github-actions (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: ^\.github/workflows/[^/]+\.ya?ml$ for manager github-actions (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: ^\.gitlab-ci\.yml$ for manager gitlabci (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: ^\.gitlab-ci\.yml$ for manager gitlabci-include (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)go.mod$ for manager gomod (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: \.gradle(\.kts)?$ for manager gradle (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)gradle.properties$ for manager gradle (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)gradle/wrapper/gradle-wrapper.properties$ for manager gradle-wrapper (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)requirements.yaml$ for manager helm-requirements (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)values.yaml$ for manager helm-values (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)helmfile.yaml$ for manager helmfile (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: ^Formula/[^/]+[.]rb$ for manager homebrew (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: \.html?$ for manager html (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)kustomization\.yaml for manager kustomize (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)project\.clj$ for manager leiningen (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: \.pom\.xml$ for manager maven (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)pom\.xml$ for manager maven (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)package.js$ for manager meteor (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)mix\.exs$ for manager mix (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: ^.node-version$ for manager nodenv (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)package.json$ for manager npm (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: \.(?:cs|fs|vb)proj$ for manager nuget (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: ^.nvmrc$ for manager nvm (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)([\w-]*)requirements.(txt|pip)$ for manager pip_requirements (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)setup.py$ for manager pip_setup (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)Pipfile$ for manager pipenv (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)pyproject\.toml$ for manager poetry (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)pubspec\.ya?ml$ for manager pub (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: ^inspec.yml$ for manager regex (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Matched 1 file(s) for manager regex: inspec.yml (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Found regex package files (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)\.ruby-version$ for manager ruby-version (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: \.sbt$ for manager sbt (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: project/[^/]*.scala$ for manager sbt (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)Package\.swift for manager swift (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: \.tf$ for manager terraform (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: ^.travis.yml$ for manager travis (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Found 1 package file(s) (repository=micheelengronne/renovatebot-debug-postupgradetask)
 INFO: Extraction statistics (repository=micheelengronne/renovatebot-debug-postupgradetask)
       "stats": {
         "managers": {"regex": {"fileCount": 1, "depCount": 1}},
         "fileCount": 1,
         "depCount": 1
       }
DEBUG: fetchDepUpdates finished (repository=micheelengronne/renovatebot-debug-postupgradetask, packageFile=inspec.yml)
       "depName": "https://github.com/dev-sec/linux-baseline.git"
DEBUG: fetchUpdates complete (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: packageFiles with updates (repository=micheelengronne/renovatebot-debug-postupgradetask)
       "config": {
         "regex": [
           {
             "packageFile": "inspec.yml",
             "manager": "regex",
             "deps": [
               {
                 "depName": "https://github.com/dev-sec/linux-baseline.git",
                 "currentValue": "2.3.0",
                 "datasource": "git-tags",
                 "autoReplaceData": {
                   "depIndex": 0,
                   "replaceString": "git: https://github.com/dev-sec/linux-baseline.git\n    tag: 2.3.0"
                 },
                 "updates": [
                   {
                     "fromVersion": "2.3.0",
                     "toVersion": "2.4.0",
                     "newValue": "2.4.0",
                     "newMajor": 2,
                     "newMinor": 4,
                     "updateType": "minor",
                     "isSingleVersion": true
                   }
                 ],
                 "warnings": [],
                 "sourceUrl": "https://github.com/dev-sec/linux-baseline"
               }
             ],
             "matchStrings": ["git: (?<depName>.*)?\n    tag: (?<currentValue>.*)"],
             "autoReplace": true
           }
         ]
       }
DEBUG: branchifyUpgrades (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: 1 flattened updates found: https://github.com/dev-sec/linux-baseline.git (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Returning 1 branch(es) (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: generateBranchConfig(1) (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: hasGroupName: false (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: groupEligible: false (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: useGroupSettings: false (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: config.repoIsOnboarded=true (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Processing 1 branch: renovate/https---github.com-dev-sec-linux-baseline.git-2.x (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Calculating hourly PRs remaining (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Retrieving PR list (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Retrieved 0 Pull Requests (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: currentHourStart=1585317600000 (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: PR hourly limit remaining: 2 (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Enforcing prConcurrentLimit (20) (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: 0 PRs are currently open (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: PR concurrent limit remaining: 20 (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: processBranch with 1 upgrades (repository=micheelengronne/renovatebot-debug-postupgradetask, dependencies=https://github.com/dev-sec/linux-baseline.git, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: Setting baseBranch to master (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: latest commit (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
       "branchName": "master",
       "latestCommitDate": "2020-03-27 13:46:12 +0000"
DEBUG: getBranchPr(renovate/https---github.com-dev-sec-linux-baseline.git-2.x) (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: findPr(renovate/https---github.com-dev-sec-linux-baseline.git-2.x, undefined, open) (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: branchExists=false (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: Branch has 1 upgrade(s) (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: recreateClosed is false (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: findPr(renovate/https---github.com-dev-sec-linux-baseline.git-2.x, Update dependency https://github.com/dev-sec/linux-baseline.git to v2.4.0, !open) (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: prAlreadyExisted=false (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: Checking schedule(at any time, null) (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: No schedule defined (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: Branch needs creating (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: Using parentBranch: undefined (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: manager.getUpdatedPackageFiles() (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: autoReplace (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: Starting search at index 175 (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: Found match at index 175 (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: Contents updated (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: Updated 1 package files (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: No updated lock files in branch (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: Checking for post-upgrade tasks (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
       "tasks": {
         "commands": ["ruby-coppint-inspec vendor --overwrite ./"],
         "fileFilters": ["inspec.lock"]
       },
       "allowedCommands": ["^ruby-coppint-inspec vendor --overwrite ./$"]
DEBUG: Executing post-upgrade task (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
       "cmd": "ruby-coppint-inspec vendor --overwrite ./"
DEBUG: Executing command (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
       "command": "ruby-coppint-inspec vendor --overwrite ./"
DEBUG: exec completed (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
       "cmd": "ruby-coppint-inspec vendor --overwrite ./",
       "seconds": 19,
       "stdout": "+---------------------------------------------+\n✔ 1 product license accepted.\n+---------------------------------------------+\nDependencies for profile ./ successfully vendored to /tmp/renovate/repos/github/micheelengronne/renovatebot-debug-postupgradetask/vendor\n",
       "stderr": "/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated\n/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated\n/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated\n/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated\n/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated\n/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated\n/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated\n/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated\n/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated\n/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated\n"
DEBUG: Executed post-upgrade task (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
       "cmd": "ruby-coppint-inspec vendor --overwrite ./",
       "stdout": "+---------------------------------------------+\n✔ 1 product license accepted.\n+---------------------------------------------+\nDependencies for profile ./ successfully vendored to /tmp/renovate/repos/github/micheelengronne/renovatebot-debug-postupgradetask/vendor\n",
       "stderr": "/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated\n/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated\n/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated\n/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated\n/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated\n/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated\n/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated\n/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated\n/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated\n/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated\n"
DEBUG: Post-upgrade file saved (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
       "file": "inspec.lock",
       "pattern": "inspec.lock"
DEBUG: 2 file(s) to commit (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: Committing files to branch renovate/https---github.com-dev-sec-linux-baseline.git-2.x (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
 INFO: Branch created (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
       "commitHash": "8912412"
DEBUG: Ensuring PR (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: There are 0 errors and 0 warnings (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: getBranchPr(renovate/https---github.com-dev-sec-linux-baseline.git-2.x) (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: findPr(renovate/https---github.com-dev-sec-linux-baseline.git-2.x, undefined, open) (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: Creating PR (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
       "prTitle": "Update dependency https://github.com/dev-sec/linux-baseline.git to v2.4.0"
DEBUG: Creating PR (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
       "title": "Update dependency https://github.com/dev-sec/linux-baseline.git to v2.4.0",
       "head": "micheelengronne:renovate/https---github.com-dev-sec-linux-baseline.git-2.x",
       "base": "master"
DEBUG: PR created (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
       "pr": 1
DEBUG: Adding labels  to #1 (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
 INFO: PR created (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
       "pr": 1,
       "prTitle": "Update dependency https://github.com/dev-sec/linux-baseline.git to v2.4.0"
DEBUG: Adding assignees micheelengronne to #1 (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: Added assignees (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
       "assignees": ["micheelengronne"]
DEBUG: Created Pull Request #1 (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: Ensuring comment ":warning: Artifact update problem" in #1 is removed (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: Retrieved closed PR list with graphql (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
       "prNumbers": []
DEBUG: Getting comments for #1 (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: Found 0 comments (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: Checking #1 for automerge (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
       "automerge": false,
       "automergeType": "pr",
       "automergeComment": "automergeComment"
DEBUG: No automerge (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: branchPrefix: renovate/ (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Found 0 Renovate PRs (repository=micheelengronne/renovatebot-debug-postupgradetask)
       "renovatePrs": []
DEBUG: Removing any stale branches (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: config.repoIsOnboarded=true (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Branch lists (repository=micheelengronne/renovatebot-debug-postupgradetask)
       "branchList": ["renovate/https---github.com-dev-sec-linux-baseline.git-2.x"],
       "renovateBranches": ["renovate/https---github.com-dev-sec-linux-baseline.git-2.x"]
DEBUG: remainingBranches= (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: No branches to clean up (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: ensureIssueClosing(Action Required: Fix Renovate Configuration) (repository=micheelengronne/renovatebot-debug-postupgradetask)
 INFO: Repository finished (repository=micheelengronne/renovatebot-debug-postupgradetask)

The version in inspec.yml and the ref in inspec.lock were updated.

micheelengronne commented 4 years ago

The behaviour seems different between gitlab and github. Renovate on Github thinks the MR has been edited (and it is wrong).

Here is the log for the second round:

 INFO: Repository started (repository=micheelengronne/renovatebot-debug-postupgradetask)
       "renovateVersion": "19.183.0"
DEBUG: Using localDir: /tmp/renovate/repos/github/micheelengronne/renovatebot-debug-postupgradetask (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: initRepo("micheelengronne/renovatebot-debug-postupgradetask") (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Overriding default GitHub endpoint (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: micheelengronne/renovatebot-debug-postupgradetask owner = micheelengronne (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: micheelengronne/renovatebot-debug-postupgradetask default branch = master (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using personal access token for git init (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Initializing git repository into /tmp/renovate/repos/github/micheelengronne/renovatebot-debug-postupgradetask (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: git clone completed (repository=micheelengronne/renovatebot-debug-postupgradetask)
       "seconds": 1.6
DEBUG: latest commit (repository=micheelengronne/renovatebot-debug-postupgradetask)
       "latestCommitDate": "2020-03-27 13:46:12 +0000"
DEBUG: No git private key present - commits will be unsigned (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Setting git author (repository=micheelengronne/renovatebot-debug-postupgradetask)
       "gitAuthor": {"name": "Michée Lengronne", "email": "michee.lengronne@coppint.com"}
DEBUG: resetMemCache() (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: detectSemanticCommits() (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: getCommitMessages (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Semantic commits detection: unknown (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: No semantic commits detected (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: checkOnboarding() (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: isOnboarded() (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: findFile(renovate.json) (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: findFile(renovate.json5) (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: findFile(.github/renovate.json) (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: findFile(.github/renovate.json5) (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: findFile(.gitlab/renovate.json) (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: findFile(.gitlab/renovate.json5) (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: findFile(.renovaterc) (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: findFile(.renovaterc.json) (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: config file exists (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: ensureIssueClosing(Action required: Add a Renovate config) (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Retrieving issueList (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Retrieved 1 issues (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Repo is onboarded (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Found .renovaterc.json config file (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Repository config (repository=micheelengronne/renovatebot-debug-postupgradetask)
       "configFile": ".renovaterc.json",
       "config": {
         "assignees": ["micheelengronne"],
         "baseBranches": ["master"],
         "extends": ["config:base"],
         "regexManagers": [
           {
             "fileMatch": ["^inspec.yml$"],
             "matchStrings": ["git: (?<depName>.*)?\n    tag: (?<currentValue>.*)"],
             "datasourceTemplate": "git-tags"
           }
         ],
         "postUpgradeTasks": {
           "commands": ["ruby-coppint-inspec vendor --overwrite ./"],
           "fileFilters": ["inspec.lock"]
         }
       }
DEBUG: migrateAndValidate() (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: No config migration necessary (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: massaged config (repository=micheelengronne/renovatebot-debug-postupgradetask)
       "config": {
         "assignees": ["micheelengronne"],
         "baseBranches": ["master"],
         "extends": ["config:base"],
         "regexManagers": [
           {
             "fileMatch": ["^inspec.yml$"],
             "matchStrings": ["git: (?<depName>.*)?\n    tag: (?<currentValue>.*)"],
             "datasourceTemplate": "git-tags"
           }
         ],
         "postUpgradeTasks": {
           "commands": ["ruby-coppint-inspec vendor --overwrite ./"],
           "fileFilters": ["inspec.lock"]
         }
       }
DEBUG: migrated config (repository=micheelengronne/renovatebot-debug-postupgradetask)
       "config": {
         "assignees": ["micheelengronne"],
         "baseBranches": ["master"],
         "extends": ["config:base"],
         "regexManagers": [
           {
             "fileMatch": ["^inspec.yml$"],
             "matchStrings": ["git: (?<depName>.*)?\n    tag: (?<currentValue>.*)"],
             "datasourceTemplate": "git-tags"
           }
         ],
         "postUpgradeTasks": {
           "commands": ["ruby-coppint-inspec vendor --overwrite ./"],
           "fileFilters": ["inspec.lock"]
         }
       }
DEBUG: Found repo ignorePaths (repository=micheelengronne/renovatebot-debug-postupgradetask)
       "ignorePaths": [
         "**/node_modules/**",
         "**/bower_components/**",
         "**/vendor/**",
         "**/examples/**",
         "**/__tests__/**",
         "**/test/**",
         "**/tests/**",
         "**/__fixtures__/**"
       ]
DEBUG: checkBaseBranch() (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: config.repoIsOnboarded=true (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Setting baseBranch to master (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: latest commit (repository=micheelengronne/renovatebot-debug-postupgradetask)
       "branchName": "master",
       "latestCommitDate": "2020-03-27 13:46:12 +0000"
DEBUG: Setting branchPrefix: renovate/ (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: No vulnerability alerts found (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: processRepo() (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: baseBranches (repository=micheelengronne/renovatebot-debug-postupgradetask)
       "baseBranches": ["master"]
DEBUG: baseBranch: master (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Setting baseBranch to master (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: latest commit (repository=micheelengronne/renovatebot-debug-postupgradetask)
       "branchName": "master",
       "latestCommitDate": "2020-03-27 13:46:12 +0000"
DEBUG: extractAndUpdate() (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)tasks/[^/]+\.ya?ml$ for manager ansible (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)requirements\.ya?ml$ for manager ansible-galaxy (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)WORKSPACE$ for manager bazel (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: \.bzl$ for manager bazel (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: buildkite\.ya?ml for manager buildkite (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: \.buildkite/.+\.ya?ml$ for manager buildkite (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)Gemfile$ for manager bundler (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)Cargo.toml$ for manager cargo (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/).circleci/config.yml$ for manager circleci (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: cocoapods is disabled (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)([\w-]*)composer.json$ for manager composer (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)deps\.edn$ for manager deps-edn (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)docker-compose[^/]*\.ya?ml$ for manager docker-compose (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/|\.)Dockerfile$ for manager dockerfile (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)Dockerfile\.[^/]*$ for manager dockerfile (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/).drone.yml$ for manager droneci (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: git-submodules is disabled (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: ^\.github/main.workflow$ for manager github-actions (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: ^\.github/workflows/[^/]+\.ya?ml$ for manager github-actions (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: ^\.gitlab-ci\.yml$ for manager gitlabci (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: ^\.gitlab-ci\.yml$ for manager gitlabci-include (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)go.mod$ for manager gomod (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: \.gradle(\.kts)?$ for manager gradle (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)gradle.properties$ for manager gradle (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)gradle/wrapper/gradle-wrapper.properties$ for manager gradle-wrapper (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)requirements.yaml$ for manager helm-requirements (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)values.yaml$ for manager helm-values (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)helmfile.yaml$ for manager helmfile (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: ^Formula/[^/]+[.]rb$ for manager homebrew (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: \.html?$ for manager html (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)kustomization\.yaml for manager kustomize (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)project\.clj$ for manager leiningen (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: \.pom\.xml$ for manager maven (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)pom\.xml$ for manager maven (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)package.js$ for manager meteor (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)mix\.exs$ for manager mix (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: ^.node-version$ for manager nodenv (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)package.json$ for manager npm (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: \.(?:cs|fs|vb)proj$ for manager nuget (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: ^.nvmrc$ for manager nvm (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)([\w-]*)requirements.(txt|pip)$ for manager pip_requirements (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)setup.py$ for manager pip_setup (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)Pipfile$ for manager pipenv (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)pyproject\.toml$ for manager poetry (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)pubspec\.ya?ml$ for manager pub (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: ^inspec.yml$ for manager regex (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Matched 1 file(s) for manager regex: inspec.yml (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Found regex package files (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)\.ruby-version$ for manager ruby-version (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: \.sbt$ for manager sbt (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: project/[^/]*.scala$ for manager sbt (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: (^|/)Package\.swift for manager swift (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: \.tf$ for manager terraform (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Using file match: ^.travis.yml$ for manager travis (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Found 1 package file(s) (repository=micheelengronne/renovatebot-debug-postupgradetask)
 INFO: Extraction statistics (repository=micheelengronne/renovatebot-debug-postupgradetask)
       "stats": {
         "managers": {"regex": {"fileCount": 1, "depCount": 1}},
         "fileCount": 1,
         "depCount": 1
       }
DEBUG: fetchDepUpdates finished (repository=micheelengronne/renovatebot-debug-postupgradetask, packageFile=inspec.yml)
       "depName": "https://github.com/dev-sec/linux-baseline.git"
DEBUG: fetchUpdates complete (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: packageFiles with updates (repository=micheelengronne/renovatebot-debug-postupgradetask)
       "config": {
         "regex": [
           {
             "packageFile": "inspec.yml",
             "manager": "regex",
             "deps": [
               {
                 "depName": "https://github.com/dev-sec/linux-baseline.git",
                 "currentValue": "2.3.0",
                 "datasource": "git-tags",
                 "autoReplaceData": {
                   "depIndex": 0,
                   "replaceString": "git: https://github.com/dev-sec/linux-baseline.git\n    tag: 2.3.0"
                 },
                 "updates": [
                   {
                     "fromVersion": "2.3.0",
                     "toVersion": "2.4.0",
                     "newValue": "2.4.0",
                     "newMajor": 2,
                     "newMinor": 4,
                     "updateType": "minor",
                     "isSingleVersion": true
                   }
                 ],
                 "warnings": [],
                 "sourceUrl": "https://github.com/dev-sec/linux-baseline"
               }
             ],
             "matchStrings": ["git: (?<depName>.*)?\n    tag: (?<currentValue>.*)"],
             "autoReplace": true
           }
         ]
       }
DEBUG: branchifyUpgrades (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: 1 flattened updates found: https://github.com/dev-sec/linux-baseline.git (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Returning 1 branch(es) (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: generateBranchConfig(1) (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: hasGroupName: false (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: groupEligible: false (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: useGroupSettings: false (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: config.repoIsOnboarded=true (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Processing 1 branch: renovate/https---github.com-dev-sec-linux-baseline.git-2.x (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Calculating hourly PRs remaining (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Retrieving PR list (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Retrieved 1 Pull Requests (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: currentHourStart=1585317600000 (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: PR hourly limit remaining: 1 (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Enforcing prConcurrentLimit (20) (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: 1 PRs are currently open (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: PR concurrent limit remaining: 19 (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: processBranch with 1 upgrades (repository=micheelengronne/renovatebot-debug-postupgradetask, dependencies=https://github.com/dev-sec/linux-baseline.git, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: Setting baseBranch to master (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: latest commit (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
       "branchName": "master",
       "latestCommitDate": "2020-03-27 13:46:12 +0000"
DEBUG: getBranchPr(renovate/https---github.com-dev-sec-linux-baseline.git-2.x) (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: findPr(renovate/https---github.com-dev-sec-linux-baseline.git-2.x, undefined, open) (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: Found PR #1 (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: Returning from graphql open PR list (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: branchExists=true (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: Branch pr rebase requested: false (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: Branch has 1 upgrade(s) (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: Checking if PR has been edited (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: Found existing branch PR (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: Retrieved closed PR list with graphql (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
       "prNumbers": []
DEBUG: Getting comments for #1 (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: Found 0 comments (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
DEBUG: Ensuring comment "PR has been edited" in #1 (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
 INFO: Comment added (repository=micheelengronne/renovatebot-debug-postupgradetask, branch=renovate/https---github.com-dev-sec-linux-baseline.git-2.x)
       "issueNo": 1,
       "topic": "PR has been edited"
DEBUG: branchPrefix: renovate/ (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Found 0 Renovate PRs (repository=micheelengronne/renovatebot-debug-postupgradetask)
       "renovatePrs": []
DEBUG: Removing any stale branches (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: config.repoIsOnboarded=true (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: Branch lists (repository=micheelengronne/renovatebot-debug-postupgradetask)
       "branchList": ["renovate/https---github.com-dev-sec-linux-baseline.git-2.x"],
       "renovateBranches": ["renovate/https---github.com-dev-sec-linux-baseline.git-2.x"]
DEBUG: remainingBranches= (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: No branches to clean up (repository=micheelengronne/renovatebot-debug-postupgradetask)
DEBUG: ensureIssueClosing(Action Required: Fix Renovate Configuration) (repository=micheelengronne/renovatebot-debug-postupgradetask)
 INFO: Repository finished (repository=micheelengronne/renovatebot-debug-postupgradetask)
micheelengronne commented 4 years ago

On Gitlab, it should do a loop:

Note that if we remove the postUpgradeTask and keep the regex manager only, it works without problems.

micheelengronne commented 4 years ago

So, I did the same on gitlab.com. It has the same behaviour as Github. MR detected as edited when it is not.

Gitlab issue: https://gitlab.com/micheelengronne/renovatebot-debug-postupgradetask/-/issues/1

micheelengronne commented 4 years ago

Anyway, that's another bug than my loop in my local gitlab instance.