Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/dependabot-automerge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: dependabot-automerge
on:

Check failure on line 2 in .github/workflows/dependabot-automerge.yml

View workflow job for this annotation

GitHub Actions / audit / zizmor

dangerous-triggers

dependabot-automerge.yml:2: use of fundamentally insecure workflow trigger: pull_request_target is almost always used insecurely
pull_request_target:
types: [opened, synchronize, reopened, ready_for_review]
permissions:
pull-requests: write
contents: write
jobs:
automerge:
if: github.actor == 'dependabot[bot]'

Check failure on line 10 in .github/workflows/dependabot-automerge.yml

View workflow job for this annotation

GitHub Actions / audit / zizmor

bot-conditions

dependabot-automerge.yml:10: spoofable bot actor check: actor context may be spoofable
runs-on: ubuntu-latest
steps:
- name: Enable auto-merge (squash)
run: gh pr merge --auto --squash "$PR_URL"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_URL: ${{ github.event.pull_request.html_url }}
Loading