Skip to content

chore(deps): use bodinsamuel/renovate-automatic-branch #819

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 12, 2022
Merged
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
20 changes: 7 additions & 13 deletions .github/workflows/renovate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,15 @@ name: Renovate

on:
schedule:
- cron: '0 14 * * 5'
- cron: '0 14 * * 5' # At 14:00 on Friday.

jobs:
renovate:
name: Renovate
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Setup
id: setup
uses: ./.github/actions/setup
- name: Renovate Automatic Branch
uses: bodinsamuel/renovate-automatic-branch@v1
with:
type: minimal

- run: yarn workspace scripts renovateWeeklyPR
env:
GITHUB_TOKEN: ${{ secrets.ALGOLIA_BOT_TOKEN }}
github-token: ${{ secrets.ALGOLIA_BOT_TOKEN }}
repo-owner: algolia
repo-name: api-clients-automation
4 changes: 2 additions & 2 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
".github/actions/setup/action.yml"
],
"matchStrings": [
"https://github.com/google/google-java-format/releases/download/v(?<currentValue>.*?)/google-java-format-(?<currentValue>.*?)-all-deps.jar"
"https:\\/\\/github\\.com\\/google\\/google-java-format\\/releases\\/download\\/v(?<currentValue>.*?)\\/google-java-format-(?<currentValue>.*?)-all-deps\\.jar"
],
"depNameTemplate": "google/google-java-format",
"datasourceTemplate": "github-releases"
Expand All @@ -74,7 +74,7 @@
"description": "Update yarn version (won't work because we need to download the script but gives an alert at least)",
"fileMatch": ".yarnrc.yml",
"matchStrings": [
"yarnPath: .yarn/releases/yarn-(?<currentValue>.*?).cjs"
"yarnPath: \\.yarn\\/releases\\/yarn-(?<currentValue>.*?)\\.cjs"
],
"depNameTemplate": "yarnpkg/berry",
"datasourceTemplate": "github-releases"
Expand Down
162 changes: 0 additions & 162 deletions scripts/ci/githubActions/renovateWeeklyPR.ts

This file was deleted.

1 change: 0 additions & 1 deletion scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"createReleasePR": "ts-node release/createReleasePR.ts",
"pre-commit": "./ci/husky/pre-commit.js",
"pushGeneratedCode": "ts-node ci/codegen/pushGeneratedCode.ts",
"renovateWeeklyPR": "ts-node ci/githubActions/renovateWeeklyPR.ts",
"setRunVariables": "ts-node ci/githubActions/setRunVariables.ts",
"spreadGeneration": "ts-node ci/codegen/spreadGeneration.ts",
"test": "jest",
Expand Down