1
0
Fork 0
mirror of https://github.com/imjasonh/apidiff-action synced 2026-07-06 22:52:43 +00:00
Commit graph

28 commits

Author SHA1 Message Date
dependabot[bot]
a554fe840e
build(deps): bump actions/checkout in the github-actions group (#55)
Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 6 to 7
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-22 03:24:33 +00:00
dependabot[bot]
dd7e0889ff
build(deps): bump actions/checkout in the github-actions group (#32)
Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 5 to 6
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-24 03:40:49 +00:00
dependabot[bot]
5b3fc151be
build(deps): bump actions/setup-node in the github-actions group (#27)
Bumps the github-actions group with 1 update: [actions/setup-node](https://github.com/actions/setup-node).


Updates `actions/setup-node` from 5 to 6
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-20 03:33:40 +00:00
dependabot[bot]
e73fdbaade
build(deps): bump the github-actions group with 3 updates (#21)
Bumps the github-actions group with 3 updates: [actions/setup-node](https://github.com/actions/setup-node), [actions/setup-python](https://github.com/actions/setup-python) and [actions/setup-go](https://github.com/actions/setup-go).


Updates `actions/setup-node` from 4 to 5
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v4...v5)

Updates `actions/setup-python` from 5 to 6
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v5...v6)

Updates `actions/setup-go` from 5 to 6
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/setup-python
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/setup-go
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-08 03:45:47 +00:00
dependabot[bot]
bc4d52b303
build(deps): bump actions/checkout in the github-actions group (#19)
Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 4 to 5
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-18 06:02:56 +00:00
Jason Hall
60052f4ed3
Merge branch 'main' into add-dependabot-auto-merge 2025-07-30 15:24:51 -04:00
Jason Hall
845b729cd2
Add workflow to auto-merge Dependabot PRs
This workflow automatically enables auto-merge for Dependabot PRs that
contain patch or minor version updates. Major updates are skipped as
they may contain breaking changes.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-30 15:21:53 -04:00
Jason Hall
422a3478df
fix: improve dist update messaging and ensure proper CI flow
- Add clear message when dist is auto-updated
- Exit with code 1 to prevent auto-merge of out-of-date dist
- This ensures the PR must pass CI again after dist update
2025-07-30 11:01:34 -04:00
Jason Hall
cf69be2f04
refactor: consolidate dist checking and updating into ci.yml
- Moves all dist functionality into the main CI workflow
- Checks dist on every CI run
- Auto-updates dist on PRs from same repo
- Fails with clear instructions for fork PRs
- Simplifies workflow structure
2025-07-30 11:00:34 -04:00
Jason Hall
1d4800cfa2
refactor: combine dist workflows into single dist.yml
- Merges check-dist and update-dist into one workflow
- For PRs from same repo: automatically updates dist if needed
- For PRs from forks: fails with clear instructions
- For pushes to main: just checks and fails if out of date
- Adds PR comment when dist is auto-updated
2025-07-30 10:55:12 -04:00
Jason Hall
e6fd309a7b
fix: skip hooks when updating dist in CI
- Add --no-verify to skip pre-commit hooks
- Prevents ESLint errors from blocking dist updates
2025-07-30 10:13:15 -04:00
Jason Hall
5479fe6adc
feat: add update-dist workflow for automatic dist updates
- Runs on PRs to automatically update dist if needed
- Can also be triggered manually via workflow_dispatch
- Only runs on PRs from the same repo (not forks)
2025-07-30 10:10:33 -04:00
Jason Hall
f9e2109299
feat: add check-dist workflow based on actions/javascript-action
- Uses exact same approach as official GitHub template
- References .node-version file for consistency
- Uses standard git diff options
2025-07-30 10:08:38 -04:00
Jason Hall
2dc724bd9b
fix: remove check-dist workflow and add contributing guide
- The check-dist workflow has OS-specific build differences
- Add CONTRIBUTING.md to document the build process
- Developers must manually run 'npm run build' before committing
2025-07-30 10:01:03 -04:00
Jason Hall
36bb228576
fix: use more aggressive whitespace ignoring in check-dist
- Ignore all whitespace differences to handle OS-specific formatting
- This prevents false positives from macOS vs Ubuntu build differences
2025-07-30 09:58:47 -04:00
Jason Hall
b91371174f
refactor: simplify dist management to match GitHub Actions template
- Remove pre-commit hooks for building/checking dist
- Add check-dist.yml workflow that validates dist in CI
- This matches the approach used by actions/javascript-action
- Eliminates OS-specific build differences affecting commits
2025-07-30 09:53:16 -04:00
Jason Hall
f2b49d3bf2
Remove automated build workflow, require local builds
- Remove build-dist.yml workflow
- Update documentation to clarify local build requirement
- Keep pre-commit hooks to ensure dist is always up to date

This ensures developers build dist locally with the correct Node version
before committing, which is checked by CI.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-30 09:17:40 -04:00
Jason Hall
9f05344e16
Configure Node.js v20 for local development
- Add .node-version and .nvmrc files specifying Node 20.9.0
- Add engines field to package.json requiring Node 20
- Re-enable dist build/check hooks in pre-commit
- Add build-dist workflow for automated builds with Node 20
- Update documentation with Node version requirements

This ensures consistent builds between local development and CI.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-30 09:13:03 -04:00
Jason Hall
a627281753
Remove release workflow (#10)
The release workflow is not needed when creating releases through
GitHub's UI. The workflow was failing because:

1. Creating a release in GitHub UI automatically creates the tag
2. The tag creation triggers the workflow
3. The workflow tries to create a release that already exists

Since releases are being created manually through the UI, this
workflow adds no value and only causes confusion with failures.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: Claude <noreply@anthropic.com>
2025-07-30 12:45:42 +00:00
Jason Hall
f47f0ff743
Fix formatting in dependabot.yml
- Apply prettier formatting (single quotes)
- Add newline at end of file
2025-07-29 18:00:34 -04:00
Jason Hall
3d17f2e7e8
Add Dependabot configuration
- Enable automatic dependency updates for npm packages
- Enable automatic updates for GitHub Actions
- Group updates to reduce PR noise:
  - Production dependencies in one group
  - Development dependencies in another group
  - All GitHub Actions updates grouped together
- Schedule weekly checks on Mondays
2025-07-29 17:55:14 -04:00
Jason Hall
f9bedf8b44
Use pre-commit action in CI
- Replace individual lint/test/build steps with pre-commit action
- Ensures CI runs exactly the same checks as local development
- Includes dist up-to-date check via pre-commit hooks
2025-07-29 17:21:43 -04:00
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
Jason Hall
d05e5461cf
Merge main and resolve conflicts
Keep Node.js-based configuration for both CI and pre-commit
2025-07-29 16:44:48 -04:00
Jason Hall
b92e3a611c
Transform to apidiff-action GitHub Action
- Remove all Go code and replace with Node.js GitHub Action
- Use official golang.org/x/exp/cmd/apidiff tool
- Add PR comment functionality
- Support both git refs and directory comparisons
- Add comprehensive test suite with testdata examples
- Update CI to test action with breaking/safe/clean examples

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-29 16:33:49 -04:00
Jason Hall
986abe49b3
Fix CI: Install goimports and add golangci-lint to pre-commit
- Add goimports installation to CI workflow
- Add golangci-lint to pre-commit hooks
- Fix deprecated golangci-lint config options (gomnd→mnd, check-shadowing→shadow)
- Remove duplicate issues section in golangci.yml

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-29 14:54:53 -04:00
Jason Hall
23799581ad
Simplify CI workflow to use pre-commit action 2025-07-29 14:47:09 -04:00
Jason Hall
37ea620324
Add CI/CD setup with pre-commit hooks and GitHub Actions
- Add pre-commit configuration for code quality checks
- Set up GitHub Actions for CI with test, lint, and build jobs
- Add golangci-lint configuration
- Create Makefile for common development tasks
- Update README with development instructions
- Fix code formatting issues

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-29 14:38:27 -04:00