Skip to content
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
24 changes: 13 additions & 11 deletions .github/workflows/gh-aw-dependency-review.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions .github/workflows/gh-aw-dependency-review.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ on:
secrets:
COPILOT_GITHUB_TOKEN:
required: true
GH_AW_GITHUB_TOKEN:
required: false
roles: [admin, maintainer, write]
bots:
- "${{ inputs.allowed-bot-users }}"
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/trigger-dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,8 @@ jobs:
# allowed-bot-users: "github-actions[bot]"
secrets:
COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }}
# Optional: pass an ephemeral token (e.g. a GitHub App token) so that PR labels
# applied by this workflow can trigger downstream label-based workflows.
# When omitted, the built-in GITHUB_TOKEN is used for labeling, which does
# not re-trigger other workflows.
# GH_AW_GITHUB_TOKEN: ${{ secrets.GH_AW_GITHUB_TOKEN }}
7 changes: 7 additions & 0 deletions gh-agent-workflows/dependency-review/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ See [example.yml](example.yml) for the full workflow file.
| `allowed-bot-users` | Allowed bot actor usernames (comma-separated). For Updatecli, add your repo's updatecli bot actor here (e.g. `github-actions[bot]` or a custom app bot). | No | `github-actions[bot]` |
| `classification-labels` | Comma-separated list of labels the agent may apply (e.g. `needs-human-review,higher-risk,merge-ready`). If empty, no labels are applied. Define label semantics in `additional-instructions`. | No | `""` |

## Secrets

| Secret | Description | Required |
| --- | --- | --- |
| `COPILOT_GITHUB_TOKEN` | GitHub Copilot PAT for AI engine authentication | Yes |
| `GH_AW_GITHUB_TOKEN` | Ephemeral token (e.g. a GitHub App token) used for PR labeling safe outputs. When provided, labels applied by this workflow will trigger downstream label-based workflows. When omitted, the built-in `GITHUB_TOKEN` is used, which does not re-trigger other workflows. | No |

## Safe Outputs

- `add-comment` — post an analysis comment on the PR (max 1)
Expand Down
5 changes: 5 additions & 0 deletions gh-agent-workflows/dependency-review/example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,8 @@ jobs:
# allowed-bot-users: "github-actions[bot]"
secrets:
COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }}
# Optional: pass an ephemeral token (e.g. a GitHub App token) so that PR labels
# applied by this workflow can trigger downstream label-based workflows.
# When omitted, the built-in GITHUB_TOKEN is used for labeling, which does
# not re-trigger other workflows.
# GH_AW_GITHUB_TOKEN: ${{ secrets.GH_AW_GITHUB_TOKEN }}
Loading