Skip to content

Commit

Permalink
[QI2-739] Auto merge dependabot PR (#134)
Browse files Browse the repository at this point in the history
* [QI2-739] Auto merge dependabot PR

* Implemented review comments
  • Loading branch information
NischalQuTech authored Jan 23, 2024
1 parent 7f91562 commit ecb5196
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,18 @@ jobs:
|| contains(needs.*.result, 'skipped')
}}
run: exit 1
auto-merge-dependabot:
name: Auto merge dependabot PR
needs: [lint, unit-test]
if: ${{ (github.event_name == 'pull_request') && (github.actor == 'dependabot[bot]') }}
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
steps:
- name: Squash and Merge PR from dependabot
uses: fastify/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
merge-method: squash

0 comments on commit ecb5196

Please sign in to comment.