Skip to content

Commit

Permalink
Merge branch 'main' into fix/host-rules-migration
Browse files Browse the repository at this point in the history
  • Loading branch information
RahulGautamSingh committed Mar 22, 2023
2 parents 92f8800 + 1615d26 commit 0bc8cb3
Show file tree
Hide file tree
Showing 468 changed files with 16,190 additions and 6,210 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
@@ -1,4 +1,4 @@
FROM containerbase/node:18.14.2@sha256:cb68fa4baae8632f43734cd9d98a80cf0a3c6a6f7898beb4173563a1ddd98a80
FROM containerbase/node:18.15.0@sha256:3c89fc489f4d2c46d3f8e2da86421b87ad7d6b344e69465deb3d3a6a6f0fff9e

USER root

Expand Down
4 changes: 2 additions & 2 deletions .github/DISCUSSION_TEMPLATE/mend-renovate-app-support.yml
Expand Up @@ -2,8 +2,8 @@ body:
- type: checkboxes
id: hosted-app-checkbox
attributes:
label: I'm using the Mend Renovate hosted app.
description: Only use this discussion if you're using the Mend Renovate hosted app.
label: I'm using the Mend Renovate hosted app on github.com.
description: Only use this discussion if you're using the Mend Renovate hosted app and have a "it's not running" type of problem.
options:
- label: I'm using the Mend Renovate hosted app.
required: true
Expand Down
37 changes: 11 additions & 26 deletions .github/ISSUE_TEMPLATE/bug_report.yml
@@ -1,21 +1,22 @@
name: Bug report
description: Confirmed bugs only. If in doubt, create a Discussion instead.
description: Bug reports require a minimal reproduction and should be preceded by a Discussion first.
labels: ['type:bug', 'status:requirements', 'priority-5-triage']
body:
- type: markdown
attributes:
value: |
Before you begin to fill out the form, make sure you have actually found a bug.
If you're not sure then create a [discussion](https://github.com/renovatebot/renovate/discussions) first.
If you have questions or want help with Renovate, then also create a [discussion](https://github.com/renovatebot/renovate/discussions).
Don't create a Bug Report like this without a GitHub Discussion and [minimal reproduction](https://github.com/renovatebot/renovate/blob/main/docs/development/minimal-reproductions.md) first.
Invalid bug reports waste the time of maintainers and can confuse other users so they will closed, locked and deleted.
You are always welcome to create Discussions and new users should always do that instead.
- type: dropdown
id: how-are-you-running-renovate
attributes:
label: How are you running Renovate?
options:
- 'Placeholder value, please select the correct response from the dropdown'
- 'Mend Renovate hosted app on github.com'
- 'Self-hosted'
- 'Self-hosted Renovate'
validations:
required: true

Expand Down Expand Up @@ -44,30 +45,14 @@ body:
validations:
required: false

- type: input
id: platform-version-if-selfhosting
attributes:
label: If you're self-hosting Renovate, tell us what version of the platform you run.
description: |
This field is for the version number of your _platform_, so one of these:
- AWS CodeCommit
- Azure DevOps
- Bitbucket Cloud
- Bitbucket Server
- Azure DevOps
- Gitea or Forgejo
- GitHub (.com and Enterprise Server)
- GitLab (.com and CE/EE)
validations:
required: false

- type: dropdown
id: regression-error
attributes:
label: Was this something which used to work for you, and then stopped?
options:
- 'Placeholder value, please select the correct response from the dropdown'
- 'I am trying to get this working for the first time'
- 'It used to work, and then stopped'
- 'I never saw this working'
validations:
required: true

Expand Down Expand Up @@ -107,8 +92,8 @@ body:
label: Have you created a minimal reproduction repository?
description: Please read the [minimal reproductions documentation](https://github.com/renovatebot/renovate/blob/main/docs/development/minimal-reproductions.md) to learn how to make a good minimal reproduction repository.
options:
- 'No reproduction repository'
- 'No reproduction, but I have linked to a public repo where it occurs'
- 'I have linked to a minimal reproduction repository in the bug description'
- 'Placeholder value, please select the correct response from the dropdown'
- 'I have linked to a minimal reproduction in the description above'
- 'I have explained in the description why a minimal reproduction is impossible'
validations:
required: true
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/config.yml
@@ -1,5 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Start a discussion (config, doubts, docs)
- name: Start a discussion
url: https://github.com/renovatebot/renovate/discussions/new
about: If you have any questions about bot configuration or doubts about whether you should create a feature request or bug report, or have problems with the documentation please select the button to create a Discussion instead of an Issue.
about: Our preferred starting point if you have any questions or suggestions about bot configuration, features or behavior.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.yml
@@ -1,5 +1,5 @@
name: Feature request
description: Suggest an idea for this project.
description: For maintainers only. For everyone else, please start an Ideas [discussion](https://github.com/renovatebot/renovate/discussions/new).
labels: ['type:feature', 'status:requirements', 'priority-5-triage']
body:
- type: textarea
Expand Down
26 changes: 26 additions & 0 deletions .github/label-actions.yml
Expand Up @@ -165,3 +165,29 @@
The Renovate team
'needs-discussion':
unlabel:
- 'type:bug'
- 'type:feature'
- 'priority-5-triage'
- 'status:requirements'
comment: >
**Please create a GitHub Discussion instead of this issue.**
As this issue has been labeled as `needs-discussion` by a maintainer it is being automatically closed and locked. It will later be deleted to avoid polluting repository searches with duplicate or incorrect content.
This doesn't necessarily mean that what you've reported isn't a problem or a reasonable idea, but it does mean that it should be raised as a Discussion first and not an Issue. Please create a Discussion now, assuming you still wish to discuss it.
Thanks, The Renovate team
close: true
lock: true
lock-reason: 'resolved'

'needs-code-formatting':
comment: >
Hi, you need to format code or logs here so that they're more readable for others.
You can find a Markdown code formatting guide [here](https://www.markdownguide.org/basic-syntax/#code) as well as some GitHub-specific information formatting code blocks [here](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks).
Thanks, The Renovate team
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Expand Up @@ -39,7 +39,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node-version: [16, 18]
node-version: [18]
# skip macOS and Windows test on pull requests without 'ci:fulltest' label
include: >-
${{ fromJSON((github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'ci:fulltest')) && '[{
Expand All @@ -55,7 +55,7 @@ jobs:
NODE_VERSION: ${{ matrix.node-version }}

steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
- uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
with:
fetch-depth: 2

Expand All @@ -77,14 +77,14 @@ jobs:
echo "Yarn $(yarn --version)"
- name: Installing dependencies
run: yarn install --frozen-lockfile --ignore-engines # semantic release will fail to install otherwise
run: yarn install --frozen-lockfile

# build before tests to for static file check
- name: Build
run: yarn build

- name: Cache jest cache
uses: actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0 # v3.2.6
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
with:
path: .cache/jest
key: ${{ runner.os }}-${{ matrix.node-version }}-jest-${{ hashFiles('yarn.lock') }}
Expand All @@ -106,7 +106,7 @@ jobs:
timeout-minutes: 15

steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
- uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
with:
fetch-depth: 2

Expand Down Expand Up @@ -156,7 +156,7 @@ jobs:

steps:
# full checkout for semantic-release
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
- uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
with:
fetch-depth: 0

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Expand Up @@ -22,15 +22,15 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0

- name: Delete fixtures to suppress false positives
run: |
find ./lib -type d -name '__fixtures__' -exec rm -rf {} \; || true
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@17573ee1cc1b9d061760f3a006fc4aac4f944fd5 # v2.2.4
uses: github/codeql-action/init@168b99b3c22180941ae7dbdd5f5c9678ede476ba # v2.2.7
with:
languages: javascript

Expand All @@ -40,7 +40,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@17573ee1cc1b9d061760f3a006fc4aac4f944fd5 # v2.2.4
uses: github/codeql-action/autobuild@168b99b3c22180941ae7dbdd5f5c9678ede476ba # v2.2.7

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -54,4 +54,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@17573ee1cc1b9d061760f3a006fc4aac4f944fd5 # v2.2.4
uses: github/codeql-action/analyze@168b99b3c22180941ae7dbdd5f5c9678ede476ba # v2.2.7
4 changes: 2 additions & 2 deletions .github/workflows/dependency-review.yml
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Checkout Repository'
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0

- name: 'Dependency Review'
uses: actions/dependency-review-action@c090f4e553673e6e505ea70d6a95362ee12adb94 # v3.0.3
uses: actions/dependency-review-action@f46c48ed6d4f1227fb2d9ea62bf6bcbed315589e # v3.0.4
2 changes: 1 addition & 1 deletion .github/workflows/release-npm.yml
Expand Up @@ -38,7 +38,7 @@ jobs:
echo "NPM_TAG=${{ github.event.inputs.tag }}" >> $GITHUB_ENV
fi
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
- uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
with:
ref: ${{ env.GIT_SHA }}

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/update-data.yml
Expand Up @@ -5,7 +5,7 @@ on:
workflow_dispatch:

env:
NODE_VERSION: 16
NODE_VERSION: 18

permissions:
contents: write
Expand All @@ -15,7 +15,7 @@ jobs:
update-data:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
- uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0

- name: Set up Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
Expand All @@ -33,7 +33,7 @@ jobs:
run: yarn prettier-fix

- name: Create pull request
uses: peter-evans/create-pull-request@2b011faafdcbc9ceb11414d64d0573f37c774b04 # v4.2.3
uses: peter-evans/create-pull-request@38e0b6e68b4c852a5500a94740f0e535e0d7ba54 # v4.2.4
with:
author: 'Renovate Bot <renovate@whitesourcesoftware.com>'
branch: 'chore/update-static-data'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ws_scan.yaml
Expand Up @@ -11,7 +11,7 @@ jobs:
WS_SCAN:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
- uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0

- name: Download UA
run: curl -LJO https://github.com/whitesource/unified-agent-distribution/releases/latest/download/wss-unified-agent.jar
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
@@ -0,0 +1 @@
18.15.0

0 comments on commit 0bc8cb3

Please sign in to comment.