PPF-57 Sent reminder email #2126
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Enable automerge on dependabot PRs | |
on: | |
pull_request_target: | |
jobs: | |
autoapprove: | |
name: Auto-Approve a PR by dependabot | |
runs-on: ubuntu-latest | |
steps: | |
- name: Auto approve | |
uses: cognitedata/[email protected] | |
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' | |
with: | |
github-token: ${{ secrets.DEPENDABOT_AUTO_MERGE_PERSONAL_ACCESS_TOKEN }} | |
automerge: | |
name: Enable automerge on dependabot PRs | |
needs: autoapprove | |
runs-on: ubuntu-latest | |
steps: | |
- name: Enable automerge on dependabot PRs | |
uses: daneden/enable-automerge-action@v1 | |
with: | |
github-token: ${{ secrets.DEPENDABOT_AUTO_MERGE_PERSONAL_ACCESS_TOKEN }} |