Skip to content

Commit

Permalink
Fix dependabot commits not deploying. Closes #261
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangruber committed Aug 30, 2024
1 parent 3f93c12 commit 693902f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
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"

0 comments on commit 693902f

Please sign in to comment.