Skip to content

Commit

Permalink
correct api
Browse files Browse the repository at this point in the history
  • Loading branch information
lspahija committed Nov 20, 2024
1 parent 2cc49b0 commit b47a3bd
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/dependabot-auto-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,17 @@ on: push
permissions:
contents: write
pull-requests: write
security-events: write

jobs:
dependabot:
runs-on: ubuntu-latest
steps:
- name: Trigger Dependabot
- name: Submit Dependency Snapshot
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh api -X POST /repos/${{ github.repository }}/dependabot/scans
gh api \
--method POST \
-H "Accept: application/vnd.github+json" \
/repos/${{ github.repository }}/dependency-graph/snapshots

0 comments on commit b47a3bd

Please sign in to comment.