Skip to content

Commit

Permalink
Auto merge flake update prs
Browse files Browse the repository at this point in the history
  • Loading branch information
Defelo committed Dec 27, 2023
1 parent b68c344 commit cbee295
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions:
jobs:
automerge:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
if: github.actor == 'dependabot[bot]' || github.event.pull_request.pull_request.title == 'Update flake.lock'
steps:
- name: Enable Pull Request Automerge
run: gh pr merge --squash --auto --repo "${{ github.repository }}" "${{ github.event.pull_request.number }}"
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/flake_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,6 @@ jobs:
```
{{ env.GIT_COMMIT_MESSAGE }}
```
token: ${{ secrets.GH_PAT }}
sign-commits: true
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}

0 comments on commit cbee295

Please sign in to comment.