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
16 changes: 14 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,22 +42,34 @@ updates:
- "dependencies"
- "javascript"

# GitHub Actions workflows
# GitHub Actions workflows — grouped into a single PR per update cycle so
# a fresh dependabot.yml doesn't open a flood of one-action-per-PR noise.
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
groups:
github-actions:
patterns:
- "*"
commit-message:
prefix: "chore(ci)"
labels:
- "dependencies"
- "ci"

# Docker base images
# Docker base images. Major-version bumps (e.g. a new Python minor/major
# release like 3.11 -> 3.14) are intentionally excluded: those need a
# manual compatibility check (native deps, wheel availability) rather than
# an auto-generated PR. Patch/minor updates on the pinned line still flow
# through normally.
- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "weekly"
ignore:
- dependency-name: "python"
update-types: ["version-update:semver-major", "version-update:semver-minor"]
commit-message:
prefix: "chore(docker)"
labels:
Expand Down
26 changes: 18 additions & 8 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,15 @@ on:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: docs-pages
cancel-in-progress: true

jobs:
build-and-publish:
build:
name: Build
runs-on: ubuntu-latest
environment:
name: github-pages
steps:
- name: Checkout
uses: actions/checkout@v7
Expand All @@ -50,16 +47,29 @@ jobs:
NODE_PATH: ${{ github.workspace }}/node_modules

- name: Ensure .nojekyll
if: github.ref == 'refs/heads/main' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
run: touch docs/_book/.nojekyll

# Uploading the Pages artifact does not require the `github-pages`
# deployment environment — only the actual deploy step below does.
# Keeping this in the build job means PRs get a build/lint signal
# without needing environment approval or protected-branch access.
- name: Upload Pages artifact
if: github.ref == 'refs/heads/main' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
uses: actions/upload-pages-artifact@v5
with:
path: docs/_book

deploy:
name: Deploy
if: github.ref == 'refs/heads/main' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
permissions:
pages: write
id-token: write
steps:
- name: Deploy to GitHub Pages
if: github.ref == 'refs/heads/main' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
id: deployment
uses: actions/deploy-pages@v4
6 changes: 3 additions & 3 deletions .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ jobs:
steps:
- uses: actions/first-interaction@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: >
repo_token: ${{ secrets.GITHUB_TOKEN }}
issue_message: >
👋 Thanks for opening your first issue in AgentGuard! A maintainer
will take a look soon. In the meantime, please make sure you've
included enough detail to reproduce the problem (see the issue
template checklist) — see [CONTRIBUTING.md](https://github.com/WhitzardAgent/AgentGuard/blob/main/CONTRIBUTING.md)
for more on how the project is organized.
pr-message: >
pr_message: >
🎉 Thanks for your first pull request to AgentGuard! A maintainer
will review it soon. While you wait, please double-check the PR
checklist and make sure `ruff check src tests`, `pytest -q`, and
Expand Down
Loading