Manage pip and npm install via renovate (#13207)

This commit is contained in:
Trask Stalnaker 2025-02-04 21:15:06 -08:00 committed by GitHub
parent 162eb67354
commit fd525f3b07
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 27 additions and 6 deletions

View File

@ -216,5 +216,27 @@
"matchUpdateTypes": ["major"],
"enabled": false
}
],
"customManagers": [
{
"customType": "regex",
"datasourceTemplate": "pypi",
"fileMatch": [
"^.github/workflows/"
],
"matchStrings": [
"pip install (?<depName>[^=]+)==(?<currentValue>[^\\s]+)"
]
},
{
"customType": "regex",
"datasourceTemplate": "npm",
"fileMatch": [
"^.github/workflows/"
],
"matchStrings": [
"npx (?<depName>[^@]+)@(?<currentValue>[^\\s]+)"
]
}
]
}

View File

@ -29,8 +29,10 @@ jobs:
- name: create working branch
run: git checkout -b opentelemetrybot/cloudfoundry-${{ github.run_number }}-${{ github.run_attempt }}
- run: sudo apt-get install jq python3-pip
- run: pip install yq==3.4.2
- name: install xq (which is part of yq)
run: |
sudo apt-get install jq python3-pip
pip install yq==3.4.2
- name: update index.yml
run: |

View File

@ -12,9 +12,6 @@ jobs:
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install mardkdownlint
run: npm install -g markdownlint-cli@0.43.0
- name: Run markdownlint
run: |
markdownlint -c .markdownlint.yml -p .gitignore **/*.md -i licenses/licenses.md
npx markdownlint-cli@0.43.0 -c .markdownlint.yml -p .gitignore **/*.md -i licenses/licenses.md