Skip to content
Open
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
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
lib/*.js linguist-generated=true
.github/workflows/__* linguist-generated=true
.github/workflows/*.lock.yml linguist-generated=true
.github/workflows/agentics-maintenance.yml linguist-generated=true

# Reduce incidence of needless merge conflicts on CHANGELOG.md
# The man page at
Expand Down
9 changes: 9 additions & 0 deletions .github/aw/actions-lock.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"entries": {
"github/gh-aw-actions/setup@v1.2.2": {
"repo": "github/gh-aw-actions/setup",
"version": "v1.2.2",
"sha": "53d0749e19424a918acd82b4d140264ce48f2f14"
}
}
}
2 changes: 2 additions & 0 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ The main codebase of the CodeQL Action is written in TypeScript and compiled to

GitHub Actions workflows in the `.github/workflows` directory whose filenames start with two underscores (e.g. `__all-platform-bundle.yml`) are automatically generated using the `pr-checks/sync.sh` script from template files in the `pr-checks/checks` directory. Therefore, you do not need to review files in the `.github/workflows` directory that start with two underscores. However, you should review changes to the `pr-checks` directory as well as workflows in the `.github/workflows` directory that do not start with underscores.

Similarly, `gh aw compile` generates a `.lock.yml` workflow in the `.github/workflows` directory from each gh-aw agentic workflow's `.md` file, as well as `.github/workflows/agentics-maintenance.yml` and `.github/aw/actions-lock.json`. Therefore, you do not need to review these generated files, but you should review changes to the `.md` files.

## Feature flags

Some functionality in the code may be gated behind feature flags, which are controlled server-side. If the functionality that is gated behind them is user-facing, then this should be documented in a change note at the time that the gated functionality is added. See `CHANGELOG.md` for existing notes that mention "experimental" for examples. These typically include information about when users may expect to see the feature rolled out.
Expand Down
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,18 @@ updates:
directories:
- "/.github/workflows"
- "/.github/actions/*/"
# `gh aw compile` generates these workflows, so it would revert Dependabot's updates to them.
exclude-paths:
- "**/*.lock.yml"
- "**/agentics-maintenance.yml"
schedule:
interval: weekly
cooldown:
default-days: 7
labels:
- Rebuild
ignore:
- dependency-name: "github/gh-aw-actions/*" # Managed by gh aw compile. Version-locked to the gh-aw compiler; do not bump.
groups:
actions-minor:
patterns:
Expand Down
2 changes: 2 additions & 0 deletions .github/sizeup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ sizeup:
color: e50009
ignoredFilePatterns:
- ".github/workflows/__*"
- ".github/workflows/*.lock.yml"
- ".github/workflows/agentics-maintenance.yml"
- "lib/**/*"
- "package-lock.json"
testFilePatterns:
Expand Down
165 changes: 165 additions & 0 deletions .github/workflows/agentics-maintenance.yml

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

14 changes: 14 additions & 0 deletions .github/workflows/aw.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"maintenance": {
"disabled_jobs": [
"activity_report",
"apply_safe_outputs",
"close_agentic_workflows_issues",
"create_labels",
"forecast_report",
"run_operation",
"update_pull_request_branches",
"validate_workflows"
]
}
}
Loading
Loading