Skip to content

Commit

Permalink
dependabot: Re-enable auto-merge. (#10244)
Browse files Browse the repository at this point in the history
**What this PR does / why we need it**:
I reverted back auto merge, because of permission issues with "who" can
push to the repo.

After some internal discussion, we decided to use `grafanabot` for
enabling auto-merge. This PR does that.

**Which issue(s) this PR fixes**:
Fixes #<issue number>

**Special notes for your reviewer**:

**Checklist**
- [x] Reviewed the
[`CONTRIBUTING.md`](https://github.com/grafana/loki/blob/main/CONTRIBUTING.md)
guide (**required**)

Signed-off-by: Kaviraj <[email protected]>
  • Loading branch information
kavirajk authored Aug 15, 2023
1 parent 611481b commit 20bf7a7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/dependabot_reviewer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@ jobs:
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"

- name: Approve the dependabot PR
- name: Approve and auto-merge the dependabot PR
run: |
gh pr merge --auto --squash "$PR_URL"
gh pr review $PR_URL \
--approve -b "Auto approve dependencies bump PR"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
GITHUB_TOKEN: ${{secrets.GH_BOT_ACCESS_TOKEN}}

0 comments on commit 20bf7a7

Please sign in to comment.