Skip to content

Fix dependabot not deploying on #main #46

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 17, 2024
Merged
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
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"
4 changes: 4 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ on:
push:
branches:
- main
workflow_run:
workflows: ["Dependabot Deploy Check"]
types:
- completed
jobs:
stable:
runs-on: ubuntu-latest
Expand Down