Skip to content

Commit

Permalink
Merge pull request #16 from canonical/IAM-414
Browse files Browse the repository at this point in the history
Remove renovate workflow
  • Loading branch information
nsklikas authored Sep 8, 2023
2 parents ae32505 + 8f8053e commit ef8c9c8
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 ef8c9c8

Please sign in to comment.