Skip to content

Commit

Permalink
fix: remove renovate workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nsklikas committed Sep 6, 2023
1 parent 42dfd80 commit 1ea6164
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 46 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/auto-approver.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: auto-approver
run-name: CI for approving PRs

on:
push:
branches:
- "renovate/**"

jobs:
autoapprove:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Approve PR
run: |
gh pr review --approve || true
env:
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
- name: Enable automerge if required
run: |
if [[ $(gh pr view --json body | grep "\*\*Automerge\*\*: Enabled") ]]; then
gh pr merge --auto --merge || true
fi
env:
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
18 changes: 0 additions & 18 deletions .github/workflows/renovate-approve.yaml

This file was deleted.

18 changes: 0 additions & 18 deletions .github/workflows/renovate.yaml

This file was deleted.

10 changes: 0 additions & 10 deletions renovate-config.js

This file was deleted.

0 comments on commit 1ea6164

Please sign in to comment.