Perform dependency review on PR #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish dependencies to dependency graph | |
on: | |
pull_request: | |
branches: | |
- 'main' | |
jobs: | |
dependency-submission: | |
permissions: | |
contents: write # Required for submitting dependencies | |
pull-requests: write # Required for dependency review comments | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup Golang environment | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.23.1' | |
- name: Perform dependency review | |
uses: actions/dependency-review-action@v4 | |
if: github.event_name == 'pull_request' | |
with: | |
comment-summary-in-pr: always | |
fail-on-severity: moderate |