Skip to content
Draft
Show file tree
Hide file tree
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
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
branches: [main]
pull_request:
branches: [main]
workflow_run:
workflows: ["Dependabot Deploy Check"]
types:
- completed

jobs:
build:
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/dependabot-deploy-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# https://github.com/dependabot/dependabot-core/issues/3253#issuecomment-852541544
# This workflow doesn't have access to secrets and has a read-only token
# It will trigger `deploy`, which has permissions
name: Dependabot Deploy Check
on:
push:
branches:
- main

jobs:
check-dependabot:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- run: echo "Commit created by Dependabot"