Skip to content

Commit

Permalink
ci(tools-renovate-bot): add basic renovate workflow O_O (#10)
Browse files Browse the repository at this point in the history
Co-authored-by: robby rabbitman <robby.rabbitman+nx-plus@gmail.com>
  • Loading branch information
RobbyRabbitman and robby rabbitman authored Jul 6, 2024
1 parent 1da5605 commit 600d495
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 7 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/renovate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: renovate

on:
workflow_dispatch:

jobs:
main:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4

- run: corepack enable

- uses: actions/setup-node@v4
with:
node-version-file: package.json
cache: 'pnpm'
cache-dependency-path: 'pnpm-lock.yaml'

- run: pnpm i

- run: pnpm exec nx report

- run: pnpm exec nx tools-renovate-bot:renovate:ci
env:
RENOVATE_PLATFORM: github
RENOVATE_REPOSITORIES: ${{ github.repository }}
RENOVATE_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LOG_LEVEL: debug
7 changes: 0 additions & 7 deletions tools/renovate-bot/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,6 @@
"command": "RENOVATE_CONFIG_FILE={projectRoot}/src/renovate.json pnpm dlx renovate"
},
"configurations": {
"ci": {
"env": {
"RENOVATE_PLATFORM": "github",
"RENOVATE_REPOSITORIES": "RobbyRabbitman/nx-plus",
"LOG_LEVEL": "debug"
}
},
"development": {
"env": {
"RENOVATE_PLATFORM": "local",
Expand Down

0 comments on commit 600d495

Please sign in to comment.