46 Commits

Author SHA1 Message Date
Philip Gai
8d10c36b44 feat: add --batch-size flag to push refs in batches (#173)
Some checks failed
CodeQL / Analyze (go) (push) Has been cancelled
licenses check / licensed check (push) Has been cancelled
goreleaser / goreleaser (push) Has been cancelled
Close inactive issues / close-issues (push) Has been cancelled
* feat: add --batch-size flag to push refs in batches

Add support for pushing refs in smaller batches to avoid server-side
limits and timeouts when syncing large repositories with many tags/branches.

- Add --batch-size flag (default 0 = no batching, original behavior)
- Add References() method to GitRepository interface
- Implement collectRefs() and pushRefsInBatches() helpers
- Add MinBatchSize validation (must be 0 or >= 10)

This addresses issues where repositories with 1000+ refs fail to sync
to GHES with 'command error on refs/heads/<branch>: failed' errors.

* test: add tests for batch-size flag and push batching functionality

* fix: pin tool dependencies to versions compatible with Go 1.21

* ci: fix docker compose v2 syntax and update setup-ruby action

* refactor: address PR review feedback

- Remove unused RefInfo struct from git.go
- Remove redundant pushedAny variable tracking in pushRefsInBatches
- Remove incomplete TestPushRefsInBatches_PartialUpToDate test (already covered by existing test case)

* docs: add --batch-size flag to README
2026-01-27 15:19:55 -06:00
Philip Gai
e809e36ab5 chore: update CODEOWNERS with active teams (#174) 2026-01-27 15:17:06 -06:00
Shawn Hartsell
9141ea72f2 Merge pull request #126 from actions/dependabot/github_actions/ruby/setup-ruby-1.174.0
Bump ruby/setup-ruby from 1.173.0 to 1.174.0
2024-04-25 10:33:50 -05:00
dependabot[bot]
19a0a6e383 Bump ruby/setup-ruby from 1.173.0 to 1.174.0
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.173.0 to 1.174.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases)
- [Commits](5f19ec79ce...6bd3d993c6)

---
updated-dependencies:
- dependency-name: ruby/setup-ruby
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-22 20:22:05 +00:00
dependabot[bot]
fe7ea535a8 Bump actions/stale from 5 to 9
Bumps [actions/stale](https://github.com/actions/stale) from 5 to 9.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v5...v9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-22 20:22:03 +00:00
Shawn Hartsell
170aaa216c Merge pull request #122 from actions/dependabot/github_actions/goreleaser/goreleaser-action-f09f1a7bee7ae6b5153daf4e8c63cc8ce8c7e7d5
Bump goreleaser/goreleaser-action from 9937f9bad91e089c6c6fe1d43dfa7b896ad6da21 to f09f1a7bee7ae6b5153daf4e8c63cc8ce8c7e7d5
2024-04-22 09:12:35 -05:00
dependabot[bot]
bc23fd2876 Bump goreleaser/goreleaser-action
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 9937f9bad91e089c6c6fe1d43dfa7b896ad6da21 to f09f1a7bee7ae6b5153daf4e8c63cc8ce8c7e7d5.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](9937f9bad9...f09f1a7bee)

---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-15 20:42:03 +00:00
Susan Zhang
8003ecae4b Create close-stale-issues.yml 2024-04-09 13:07:09 -07:00
dependabot[bot]
0b993e4035 Bump goreleaser/goreleaser-action
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from c21f56a7bc891b5f73bec61233c4102ef8273150 to 9937f9bad91e089c6c6fe1d43dfa7b896ad6da21.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](c21f56a7bc...9937f9bad9)

---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-08 20:35:50 +00:00
Shawn Hartsell
15c13d6241 Merge pull request #113 from actions/dependabot/github_actions/goreleaser/goreleaser-action-c21f56a7bc891b5f73bec61233c4102ef8273150
Bump goreleaser/goreleaser-action from 696b757ee8f3742e68b261173b9eeeb96306a57f to c21f56a7bc891b5f73bec61233c4102ef8273150
2024-04-04 14:03:32 -05:00
dependabot[bot]
4a955b56ad Bump goreleaser/goreleaser-action
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 696b757ee8f3742e68b261173b9eeeb96306a57f to c21f56a7bc891b5f73bec61233c4102ef8273150.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](696b757ee8...c21f56a7bc)

---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-25 20:30:01 +00:00
dependabot[bot]
ede2273643 Bump ruby/setup-ruby from 1.172.0 to 1.173.0
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.172.0 to 1.173.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases)
- [Commits](d4526a5553...5f19ec79ce)

---
updated-dependencies:
- dependency-name: ruby/setup-ruby
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-25 20:29:57 +00:00
dependabot[bot]
403f0bb25e Bump ruby/setup-ruby from 1.171.0 to 1.172.0
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.171.0 to 1.172.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases)
- [Commits](22fdc77bf4...d4526a5553)

---
updated-dependencies:
- dependency-name: ruby/setup-ruby
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-29 22:51:37 +00:00
dependabot[bot]
e72471d545 Bump goreleaser/goreleaser-action
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 94b86e1b0200cc3baefc577476f7d63bc69ad382 to 696b757ee8f3742e68b261173b9eeeb96306a57f.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](94b86e1b02...696b757ee8)

---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-26 20:33:07 +00:00
Eric Ostrowski
ace2e14a2c Merge pull request #102 from actions/dependabot/github_actions/goreleaser/goreleaser-action-94b86e1b0200cc3baefc577476f7d63bc69ad382
Bump goreleaser/goreleaser-action from d50b0c42eeed7b45ad20ecc8046a958047efe1d5 to 94b86e1b0200cc3baefc577476f7d63bc69ad382
2024-02-20 15:37:22 -06:00
dependabot[bot]
dade8ced74 Bump ruby/setup-ruby from 1.151.0 to 1.171.0
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.151.0 to 1.171.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases)
- [Commits](bc1dd263b6...22fdc77bf4)

---
updated-dependencies:
- dependency-name: ruby/setup-ruby
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-12 20:33:37 +00:00
dependabot[bot]
3a679489ed Bump goreleaser/goreleaser-action
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from d50b0c42eeed7b45ad20ecc8046a958047efe1d5 to 94b86e1b0200cc3baefc577476f7d63bc69ad382.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](d50b0c42ee...94b86e1b02)

---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-12 20:33:35 +00:00
dependabot[bot]
775e41d329 Bump goreleaser/goreleaser-action
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 14707cd26fbb4b6c8abf03fb8ea4eb6c59711a62 to d50b0c42eeed7b45ad20ecc8046a958047efe1d5.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](14707cd26f...d50b0c42ee)

---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-09 16:23:21 +00:00
dependabot[bot]
b142f804d8 Bump github/codeql-action from 2 to 3
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-09 16:20:09 +00:00
dependabot[bot]
23fecd7e14 Bump actions/setup-go from 4 to 5
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v4...v5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-09 16:09:38 +00:00
Shawn Hartsell
fc6c0a105a removing uneeded settings from licensed.yml 2024-02-09 10:04:18 -06:00
Shawn Hartsell
cc8ab3cbcf fixing more mispellings 2024-01-17 14:40:57 -06:00
Shawn Hartsell
6a752b86fc fixing spelling of licensed.yml 2024-01-17 14:39:54 -06:00
Shawn Hartsell
a684cedd8d removing branch from pull_request and adding tags -ignore to licenses 2024-01-17 14:39:11 -06:00
Shawn Hartsell
178e192d4e updating licenses ci workflow. regenerating licenses cache 2024-01-17 14:34:50 -06:00
Adrian Dischinger
3efc7559cf Merge remote-tracking branch 'upstream/main' into adriandsg/upgrade-dependencies 2024-01-17 09:14:14 +00:00
Adrian Dischinger
7b4aa8ae80 chore(deps): use full commit sha to pin 3rd party actions 2024-01-17 09:12:01 +00:00
Adrian Dischinger
4e8dfee7c2 chore: change dependabot schedules to weekly 2024-01-17 09:07:31 +00:00
Shawn Hartsell
83232a9d39 Update CODEOWNERS 2024-01-16 16:29:34 -06:00
Shawn Hartsell
05ec4672e1 Update CODEOWNERS 2024-01-16 14:03:43 -06:00
Shawn Hartsell
41ddaff06e Update CODEOWNERS 2024-01-16 14:02:46 -06:00
Shawn Hartsell
baba63a8c2 Update CODEOWNERS 2024-01-11 14:42:23 -06:00
Shawn Hartsell
8bc16ff6a2 Update CODEOWNERS 2024-01-11 14:38:44 -06:00
Shawn Hartsell
6893af5a30 Update CODEOWNERS 2024-01-11 14:38:26 -06:00
Shawn Hartsell
72b9d74865 Update CODEOWNERS
Adding myself as codeowner until new team is created
2024-01-11 14:37:51 -06:00
Adrian Dischinger
e0b006391e chore: init dependabot.yml config file 2023-10-19 11:09:49 +00:00
Adrian Dischinger
598ffdb4d3 chore(deps): upgrade checkout action 2023-10-19 11:09:28 +00:00
Florian Wagner
90b101d54d remove 386 add macos arm64
Signed-off-by: Florian Wagner <h2floh@github.com>
2023-03-21 00:29:53 +00:00
Florian Wagner
8decd6ca07 add sanity testing workflow and docs
Signed-off-by: Florian Wagner <h2floh@github.com>
2022-11-22 08:18:05 +00:00
Ajaykn-mac
6441a9b8a4 Fix go release workflow by updating to latest version 2022-05-24 09:06:37 +05:30
ajaykn
e60fba28c0 Create codeql-analysis.yml 2022-04-12 02:59:15 +09:00
Belinda Vennam
1cb196bfc3 update code owners to actions-policy 2022-01-11 10:16:06 -05:00
Josh Gross
b32f4db973 Use actions-experience for CODEOWNERS 2020-12-07 13:31:46 -05:00
Thomas Boop
e5194a7cd8 swap to environment file 2020-09-28 17:23:10 -04:00
Andy McKay
1f37634adc Update ci.yml 2020-07-08 14:42:52 -07:00
Anthony Sterling
f7954c5ebf Rename project to actions-sync 2020-07-02 19:36:10 +01:00