Skip to content

Releases: sonatype/agp-action

v1.0.0 - Initial Stable Release

09 Feb 05:25
d728557

Choose a tag to compare

First stable release of AGP GitHub Action

Features:

  • ✅ Composite Action with pre-built Docker image
  • ✅ Support for dual registries (ghcr.io public, docker-all.repo.sonatype.com private)
  • ✅ GitHub CLI integration for PR creation
  • ✅ Configurable Git user for commits
  • ✅ Node.js version selection (20 or 22)
  • ✅ Validation commands support
  • ✅ Draft PR mode
  • ✅ Dry-run mode

Requirements:

  • Enable 'Allow GitHub Actions to create PRs' in repo settings
  • Labels: dependencies, automated
  • Secrets: ANTHROPIC_API_KEY, AGP_API_TOKEN, GITHUB_TOKEN

Usage:

- uses: sonatype/agp-action@v1
  with:
    create-pr: true
  env:
    ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
    AGP_API_TOKEN: ${{ secrets.AGP_API_TOKEN }}
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Docker Image:

  • Public: ghcr.io/sonatype/agp:latest
  • Private: docker-all.repo.sonatype.com/sonatype/agp:latest

Documentation:
See README.md for full documentation.