Skip to content

Commit

Permalink
add: dependabot proxy workflow trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
ghannay10 committed Apr 16, 2024
1 parent 39098d1 commit 180e4e7
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build-gh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ on:
push:
branches:
- "**"
branches-ignore:
- "dependabot/**"

# Runs build workflow when dependabot PR is completed
# so that secrets can be accessed
workflow_run:
workflows: ["Dependabot PR Check"]
types:
- completed


jobs:
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
### .github/workflows/dependabot_pr.yml
### This workflow doesn't have access to secrets and has a read-only token
name: Dependabot PR Check
on:
push

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

0 comments on commit 180e4e7

Please sign in to comment.