Commit Graph
221 Commits
Author SHA1 Message Date
dependabot[bot] b6ec9a0c8f build(deps): bump docker/cagent-action/.github/workflows/review-pr.yml
Bumps [docker/cagent-action/.github/workflows/review-pr.yml](https://github.com/docker/cagent-action) from 1.5.1 to 1.5.3.
- [Release notes](https://github.com/docker/cagent-action/releases)
- [Commits](https://github.com/docker/cagent-action/compare/0498757af1c50b084f763d626f571918cf317509...f208610469d69f20983cad64c577949a132caa33)

---
updated-dependencies:
- dependency-name: docker/cagent-action/.github/workflows/review-pr.yml
  dependency-version: 1.5.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-13 02:22:32 +00:00
David KarlssonandClaude Opus 4.7 25cdab7a17 build(deps): pin docker/cagent-action back to v1.5.1
v1.5.2's review-pr/action.yml has a YAML parse error at line 822 that
breaks the PR review workflow. Tracking upstream at
docker/cagent-action#205.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-12 10:38:24 +02:00
David Karlsson 58199af7f2 Merge pull request #25028 from docker/dependabot/github_actions/docker/cagent-action-1.5.2
build(deps): bump docker/cagent-action from 1.5.1 to 1.5.2
2026-05-12 08:57:27 +02:00
dependabot[bot] eb7fea9b43 build(deps): bump docker/cagent-action from 1.5.1 to 1.5.2
Bumps [docker/cagent-action](https://github.com/docker/cagent-action) from 1.5.1 to 1.5.2.
- [Release notes](https://github.com/docker/cagent-action/releases)
- [Commits](https://github.com/docker/cagent-action/compare/0498757af1c50b084f763d626f571918cf317509...2a43a3882401f45e3114df7f6d66eca184993a90)

---
updated-dependencies:
- dependency-name: docker/cagent-action
  dependency-version: 1.5.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-12 06:53:40 +00:00
dependabot[bot] 019a3d5a52 build(deps): bump docker/cagent-action/.github/workflows/review-pr.yml
Bumps [docker/cagent-action/.github/workflows/review-pr.yml](https://github.com/docker/cagent-action) from 1.5.0 to 1.5.2.
- [Release notes](https://github.com/docker/cagent-action/releases)
- [Commits](https://github.com/docker/cagent-action/compare/c22076b8856ee12d9b4c4685bb49cf26eb974079...2a43a3882401f45e3114df7f6d66eca184993a90)

---
updated-dependencies:
- dependency-name: docker/cagent-action/.github/workflows/review-pr.yml
  dependency-version: 1.5.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-12 06:53:36 +00:00
David Karlsson 98131a3be0 Merge pull request #25002 from docker/dependabot/github_actions/aws-actions/configure-aws-credentials-6.1.1
build(deps): bump aws-actions/configure-aws-credentials from 4.0.2 to 6.1.1
2026-05-12 08:43:15 +02:00
David Karlsson 39c87a5553 Merge pull request #25013 from docker/dependabot/github_actions/actions/labeler-6.1.0
build(deps): bump actions/labeler from 6.0.1 to 6.1.0
2026-05-12 08:42:44 +02:00
David Karlsson a1eb7719d0 Merge pull request #25001 from docker/dependabot/github_actions/slackapi/slack-github-action-3.0.3
build(deps): bump slackapi/slack-github-action from 3.0.1 to 3.0.3
2026-05-12 08:15:28 +02:00
David KarlssonandClaude Sonnet 4.6 177fb958bd fix: update aws-credentials action version comment to v6.1.1
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-12 08:14:33 +02:00
David KarlssonandClaude Sonnet 4.6 d49451a057 build(deps): bump actions/labeler from 6.0.1 to 6.1.0 and re-enable
Switch trigger from workflow_dispatch back to pull_request_target.
The workflow does not check out PR code so pull_request_target is safe.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-12 08:10:50 +02:00
dependabot[bot] ba90b0ec20 build(deps): bump docker/cagent-action from 1.5.0 to 1.5.1
Bumps [docker/cagent-action](https://github.com/docker/cagent-action) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/docker/cagent-action/releases)
- [Commits](https://github.com/docker/cagent-action/compare/c22076b8856ee12d9b4c4685bb49cf26eb974079...0498757af1c50b084f763d626f571918cf317509)

---
updated-dependencies:
- dependency-name: docker/cagent-action
  dependency-version: 1.5.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-11 01:44:06 +00:00
dependabot[bot] fd770a728c build(deps): bump docker/cagent-action from 1.2.13 to 1.5.0
Bumps [docker/cagent-action](https://github.com/docker/cagent-action) from 1.2.13 to 1.5.0.
- [Release notes](https://github.com/docker/cagent-action/releases)
- [Commits](https://github.com/docker/cagent-action/compare/3a12dbd0c6cd7dda3d4e05f24f0143c9701456de...c22076b8856ee12d9b4c4685bb49cf26eb974079)

---
updated-dependencies:
- dependency-name: docker/cagent-action
  dependency-version: 1.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-08 01:43:33 +00:00
dependabot[bot] dd697f1af8 build(deps): bump aws-actions/configure-aws-credentials
Bumps [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials) from 4.0.2 to 6.1.1.
- [Release notes](https://github.com/aws-actions/configure-aws-credentials/releases)
- [Changelog](https://github.com/aws-actions/configure-aws-credentials/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws-actions/configure-aws-credentials/compare/v4.0.2...d979d5b3a71173a29b74b5b88418bfda9437d885)

---
updated-dependencies:
- dependency-name: aws-actions/configure-aws-credentials
  dependency-version: 6.1.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-08 01:43:23 +00:00
dependabot[bot] e6f4ec9944 build(deps): bump slackapi/slack-github-action from 3.0.1 to 3.0.3
Bumps [slackapi/slack-github-action](https://github.com/slackapi/slack-github-action) from 3.0.1 to 3.0.3.
- [Release notes](https://github.com/slackapi/slack-github-action/releases)
- [Changelog](https://github.com/slackapi/slack-github-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/slackapi/slack-github-action/compare/af78098f536edbc4de71162a307590698245be95...45a88b9581bfab2566dc881e2cd66d334e621e2c)

---
updated-dependencies:
- dependency-name: slackapi/slack-github-action
  dependency-version: 3.0.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-08 01:43:17 +00:00
Derek Misler fec0423217 remove usage of CAGENT_* org secrets in docs repo
Signed-off-by: Derek Misler <derek.misler@docker.com>
2026-05-06 19:56:54 -04:00
David Karlsson 3a85e74d4f chore: fail on hugo warns and remove redundant validation
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2026-05-01 10:34:32 +02:00
Craig Osterhout bd2d042f0c stale-workflow: update message (#24907)
<!--Delete sections as needed -->

## Description

Link to contribute guide no longer exists.
Updated message to remove link or point to relevant link.


## Related issues or tickets

<!-- Related issues, pull requests, or Jira tickets -->

## Reviews

<!-- Notes for reviewers here -->
<!-- List applicable reviews (optionally @tag reviewers) -->

- [ ] Editorial review

Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
2026-04-27 19:21:44 +02:00
David Karlsson 08a9d607d3 Revert "build(deps): bump docker/cagent-action/.github/workflows/review-pr.yml from 1.4.1 to 1.4.2" 2026-04-24 10:44:35 +02:00
dependabot[bot] 69ace2db65 build(deps): bump docker/cagent-action/.github/workflows/review-pr.yml
Bumps [docker/cagent-action/.github/workflows/review-pr.yml](https://github.com/docker/cagent-action) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/docker/cagent-action/releases)
- [Commits](https://github.com/docker/cagent-action/compare/d98096f432f2aea5091c811852c4da804e60623a...f3b82c50bfaca431899c1fcd8f9d2fdd4fe40300)

---
updated-dependencies:
- dependency-name: docker/cagent-action/.github/workflows/review-pr.yml
  dependency-version: 1.4.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-24 01:43:01 +00:00
Craig Osterhout 73b24c4c16 stale-workflow: switch off debug
Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
2026-04-22 13:07:03 -07:00
Craig Osterhout 01baa63ca6 add stale workflow (#24681)
<!--Delete sections as needed -->

## Description

This PR adds a GitHub Actions workflow to automatically mark and close
stale issues and PRs, helping maintainers focus on active items. The old
app/bot stopped working around mid 2025 and was disabled. This
reimplements it using a GitHub Action with additional slash command
functionality.

### Timeframes

- **Mark as stale**: After **180 days** (6 months) of inactivity
- **Close stale issues**: After **14 additional days** of no activity
- **Close stale PRs**: After **30 additional days** of no activity

### Exempt Labels

Issues and PRs with any of these labels will never be marked as stale:
- `kind/help-wanted`
- `status/need-more-info`
- `status/needs-analysis`
- `lifecycle/frozen`

### How to Keep Issues/PRs Active

To prevent an issue or PR from being marked as stale or closed:

**Anyone can:**
1. **Add a comment** - any comment resets the inactivity timer
2. **Use `/lifecycle active`** - removes the stale label via slash
command

**Maintainers can also:**
3. **Use `/lifecycle frozen`** - prevents the issue/PR from ever being
marked stale
4. **Add exempt labels** - manually apply one of the labels listed above
5. **Make any update** - editing the description, adding labels, or any
activity resets the timer

### Slash Commands

The workflow supports these lifecycle commands (comment them on any
issue/PR):

| Command | Access | Description |
|---------|--------|-------------|
| `/lifecycle active` | Anyone | Removes the stale label |
| `/lifecycle frozen` | Write access required | Prevents stale marking |
| `/lifecycle stale` | Write access required | Manually marks as stale |
| `/remove-lifecycle frozen` | Write access required | Removes frozen
label |
| `/remove-lifecycle stale` | Anyone | Removes stale label |

Commands respond with a 👍 reaction when successful, 👎 when permission is
denied.

### Messages

When marked as stale, issues and PRs receive a friendly comment
explaining:
- The situation and timeline for closure (14-30 days)
- How to remove the stale label using `/lifecycle active`
- How maintainers can freeze with `/lifecycle frozen`

### Debug Mode

The workflow is currently set to **debug mode** for both components:

**Stale action** (`debug-only: true`):
- ✅ Runs and logs what actions it would take
- ❌ No actual changes will be made (no labels, comments, or closures)

**Lifecycle commands** (`DEBUG_ONLY: 'true'`):
- ✅ Logs what would happen when slash commands are used
- ❌ No labels added, removed, or permission checks enforced

## Related issues

- #19050

---------

Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
2026-04-21 11:23:24 -07:00
David KarlssonandClaude Opus 4.7 c0bb56e6af Fix homepage markdown content negotiation
The CloudFront Lambda rewrote `/` with `Accept: text/markdown` to an
invalid `.md` URI, causing a 502 LambdaValidationError. Homepage has no
flattened markdown equivalent, so route to `/llms.txt` — the
agent-oriented markdown index of the site. Same handling for
`/index.html`.

Also set `Content-Type: text/markdown` on `llms.txt` at upload time, so
content negotiation responses and direct requests both advertise the
correct media type.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-20 15:29:41 +02:00
Lorena Rangel f90b2db317 Fix script injection in release notes PR trigger workflow (#24828)
## Description

The `release-notes-pr-trigger` workflow was interpolating PR context
values
(`html_url`, `title`, `user.login`) directly into a shell heredoc. A
specially crafted PR title or author name could break out of the JSON
string
and execute arbitrary commands.

This change moves the GitHub context values into environment variables
and
uses `jq` to safely construct the JSON artifact, eliminating the
injection
vector.

## Related issues or tickets

None

## Reviews

- [x] Technical review

Signed-off-by: Lorena Rangel <lorena.rangel@docker.com>
2026-04-20 09:58:58 +01:00
Derek Misler cc70869537 Merge branch 'main' into auto/update-cagent-action 2026-04-16 16:06:58 -04:00
Derek Misler 8b1b707b61 Update pr-review.yml
Signed-off-by: Derek Misler <derek.misler@docker.com>
2026-04-16 16:06:09 -04:00
derekmisler eb9c16bdae chore: update cagent-action to v1.4.1
Signed-off-by: derekmisler <2684662+derekmisler@users.noreply.github.com>
2026-04-16 14:37:45 -04:00
David KarlssonandClaude Sonnet 4.6 1da5bda0a2 ci: remove agent-writer workflow
The workflow was previously disabled and is no longer needed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-03 10:17:32 +02:00
Lorena Rangel 4210ae6be8 Fix Slack notification for release notes PRs from forks (#24566)
## Description

The Slack notification workflow for Desktop release notes PRs fails when
the PR is opened from a fork because GitHub doesn't expose repository
secrets to `pull_request` events from forks.

This PR splits the workflow into two:

1. **Release Notes PR Trigger** — runs on `pull_request`, saves PR
   details (URL, title, author) as an artifact. No secrets needed.
2. **Notify Slack on Desktop Release Notes PR** — runs on `workflow_run`
   after the trigger completes, downloads the artifact, and sends the
Slack notification. Has access to secrets since `workflow_run` runs in
   the context of the base repository.

## Related issues or tickets

Fixes the `SlackError: Missing input! A token must be provided` error
in the notify-release-notes-pr workflow.

## Reviews

- [x] Technical review

Signed-off-by: Lorena Rangel <lorena.rangel@docker.com>
2026-03-30 13:41:24 +01:00
Lorena Rangel 497fe1c475 feat(gha): add Slack notification workflow for Desktop release notes PRs (#24538)
<!--Delete sections as needed -->

## Description

Adds a GitHub Actions workflow that posts a Slack notification when a
pull request is opened that modifies the Desktop release notes page
(content/manuals/desktop/release-notes.md).

The workflow uses slackapi/slack-github-action v3.0.1 and sends a
message with a link to the PR and the author's GitHub profile to the
configured Slack channel.

Will need to add the secrets. 

## Related issues or tickets

n/a

## Reviews

<!-- Notes for reviewers here -->
<!-- List applicable reviews (optionally @tag reviewers) -->

- [x] Technical review
- [ ] Editorial review
- [ ] Product review

Signed-off-by: Lorena Rangel <lorena.rangel@docker.com>
2026-03-30 08:55:14 +01:00
Derek Misler 23e0b78f52 update cagent-action to latest (with better permissions)
Signed-off-by: Derek Misler <derek.misler@docker.com>
2026-03-25 10:18:48 -04:00
David KarlssonandClaude Sonnet 4.6 9919609453 chore: remove pull_request_target triggers from pr-review and labeler
pr-review: drop pull_request_target (auto-review on open/ready_for_review).
Manual /review via issue_comment is preserved and unaffected.

labeler: replace pull_request_target with workflow_dispatch to disable
automatic fork-PR labeling. Can be re-enabled by reverting this change.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 17:16:32 +01:00
David KarlssonandClaude Sonnet 4.6 00aefd5eae chore: pin GitHub Actions to full commit SHA; lock npm exact versions
All mutable action tags replaced with verified commit SHAs to prevent
supply-chain attacks via tag mutation. package.json ^ ranges replaced
with exact versions from package-lock.json.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 17:16:06 +01:00
David Karlsson 76777ff614 Revert "release: merge upstream sub-site on deploy" 2026-03-24 09:36:00 +01:00
David Karlsson 9bf4ab6b0b release: merge upstream sub-site on deploy
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2026-03-23 16:24:45 +01:00
David Karlsson 240bf3ffe0 chore: add process-issues skill and disable agent-writer workflow
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2026-03-19 17:26:52 +01:00
dependabot[bot] 6cc880faf0 build(deps): bump actions/cache from 4.2.0 to 5.0.4
Bumps [actions/cache](https://github.com/actions/cache) from 4.2.0 to 5.0.4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/1bd1e32a3bdc45362d1e726936510720a7c30a57...668228422ae6a00e4ad889ee87cd7109ec5666a7)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-version: 5.0.4
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-19 01:42:57 +00:00
Guillaume Tardif 3f9571086e Rename cagent GH repo (#24285)
<!--Delete sections as needed -->

## Description

rename GH cagent repo URL, repo has been renamed to docker/docker-agent

## Reviews

<!-- Notes for reviewers here -->
<!-- List applicable reviews (optionally @tag reviewers) -->

- [ ] Technical review
- [ ] Editorial review
- [ ] Product review

---------

Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2026-03-10 12:03:58 +01:00
CrazyMax cd911718b3 Merge pull request #24279 from docker/dependabot/github_actions/docker/setup-buildx-action-4
build(deps): bump docker/setup-buildx-action from 3 to 4
2026-03-06 14:24:16 +01:00
dependabot[bot] cf73c225cb build(deps): bump docker/bake-action from 6 to 7
Bumps [docker/bake-action](https://github.com/docker/bake-action) from 6 to 7.
- [Release notes](https://github.com/docker/bake-action/releases)
- [Commits](https://github.com/docker/bake-action/compare/v6...v7)

---
updated-dependencies:
- dependency-name: docker/bake-action
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-06 01:43:06 +00:00
dependabot[bot] 0bc6a1b66b build(deps): bump docker/setup-buildx-action from 3 to 4
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 3 to 4.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-06 01:42:57 +00:00
David Karlsson 9f09e7800e ci: force freshness agent to finally move on
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2026-02-26 13:31:51 +01:00
David Karlsson 4899ea2cf1 chore: move cli data files to data subdir
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2026-02-24 08:01:08 +01:00
David Karlsson 6db352ff48 ci: use create-pull-request in writer agent workflow
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2026-02-23 16:23:29 +01:00
David Karlsson d94519016d ci: remove hardcoded cagent version from agent writer workflow
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2026-02-23 15:27:02 +01:00
David Karlsson 0166d42316 Merge pull request #24101 from vvoland/cli-docs-closed
gha/sync-cli-docs: Ignore explicitly closed versions
2026-02-23 06:41:30 +01:00
David Karlsson cfa99e63e3 ci: freshness agent + nightly repo scan
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2026-02-20 10:25:11 +01:00
David Karlsson 44692cc12f ci: use docker/cagent-action/.github/workflows/review-pr.yml
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2026-02-14 18:08:17 +01:00
David Karlsson 4955de65bb ci: bump cagent version to v1.22.0
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2026-02-10 11:05:38 +01:00
David Karlsson bc48ecad26 ci: use cagent-action@latest for writer agent
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2026-02-10 11:03:51 +01:00
David Karlsson 591f99a6b8 ci: use api-key input instead of env in writing agent
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2026-02-10 10:46:25 +01:00