mirror of
https://github.com/splunk/security_content
synced 2026-06-08 17:32:49 +00:00
15 lines
450 B
YAML
15 lines
450 B
YAML
name: Auto approve PRs by dependabot
|
|
|
|
# Trigger the workflow on pull request
|
|
on: pull_request_target
|
|
|
|
jobs:
|
|
autoapprove:
|
|
name: Auto-Approve a PR by dependabot
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Auto approve
|
|
uses: cognitedata/auto-approve-dependabot-action@v3.0.1
|
|
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
|
|
with:
|
|
github-token: ${{ secrets.GITHUB_TOKEN }} |