1
0
Fork 0
mirror of https://github.com/imjasonh/apidiff-action synced 2026-07-06 22:52:43 +00:00
apidiff-action/action.yml
Jason Hall 805c061497
Fix lint errors and formatting
- Remove unused variables
- Add .eslintignore to exclude dist/
- Apply prettier formatting
- Fix all pre-commit hook issues
2025-07-29 17:07:15 -04:00

36 lines
944 B
YAML

name: 'Go API Compatibility Check'
description: 'Detect breaking API changes in Go code and comment on PRs'
author: 'Jason Hall'
branding:
icon: 'shield'
color: 'blue'
inputs:
working-directory:
description: 'Directory to run apidiff in'
required: false
default: '.'
fail-on-breaking:
description: 'Whether to fail the action if breaking changes are detected'
required: false
default: 'true'
comment-on-pr:
description: 'Whether to comment on the PR with results'
required: false
default: 'true'
token:
description: 'GitHub token for commenting on PRs'
required: false
default: ${{ github.token }}
outputs:
has-breaking-changes:
description: 'Whether breaking changes were detected'
breaking-count:
description: 'Number of breaking changes found'
compatible-count:
description: 'Number of compatible changes found'
runs:
using: 'node20'
main: 'dist/index.js'