Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6f241797e1 | ||
|
|
9141ea72f2 | ||
|
|
6df9de5468 | ||
|
|
206dd07aca | ||
|
|
dc02275ad7 | ||
|
|
e6d6bca5cc | ||
|
|
19a0a6e383 | ||
|
|
fe7ea535a8 | ||
|
|
17ffd6eca4 | ||
|
|
170aaa216c | ||
|
|
3f87ce728d | ||
|
|
8f29ed31f6 | ||
|
|
98e0fe33bf | ||
|
|
10589ff6ff | ||
|
|
bc23fd2876 | ||
|
|
0e4f1b0152 | ||
|
|
8003ecae4b | ||
|
|
02ac40391b | ||
|
|
a55f3d6117 | ||
|
|
0b993e4035 | ||
|
|
5cb887292d | ||
|
|
bcaaa755fb | ||
|
|
cd1939e72d | ||
|
|
ea5bded901 | ||
|
|
11bc18f47a | ||
|
|
09d0eed117 | ||
|
|
23ff827d24 | ||
|
|
67d84229a3 | ||
|
|
4e4319202b | ||
|
|
8216488f08 | ||
|
|
81d347b257 | ||
|
|
87de1e31a2 | ||
|
|
3281952099 | ||
|
|
15c13d6241 | ||
|
|
81bc5489b9 | ||
|
|
0943db01e6 | ||
|
|
e8902ce792 | ||
|
|
2a58084d83 | ||
|
|
4a955b56ad | ||
|
|
ede2273643 | ||
|
|
bbb3ac388b | ||
|
|
9f4fb3fbda | ||
|
|
17ba369b37 | ||
|
|
3e5210b7a1 | ||
|
|
652e420618 | ||
|
|
403f0bb25e | ||
|
|
bcf4ba0d8f | ||
|
|
e72471d545 | ||
|
|
ace2e14a2c | ||
|
|
a72b015852 | ||
|
|
dade8ced74 | ||
|
|
3a679489ed | ||
|
|
0381a0d289 | ||
|
|
b7a6a615ee |
@@ -0,0 +1,22 @@
|
||||
name: Close inactive issues
|
||||
on:
|
||||
schedule:
|
||||
- cron: "30 1 * * *"
|
||||
|
||||
jobs:
|
||||
close-issues:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
issues: write
|
||||
pull-requests: write
|
||||
steps:
|
||||
- uses: actions/stale@v9
|
||||
with:
|
||||
days-before-issue-stale: 30
|
||||
days-before-issue-close: 14
|
||||
stale-issue-label: "stale"
|
||||
stale-issue-message: "This issue is stale because it has been open for 30 days with no activity."
|
||||
close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale."
|
||||
days-before-pr-stale: -1
|
||||
days-before-pr-close: -1
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
@@ -35,7 +35,7 @@ jobs:
|
||||
- run: go mod vendor
|
||||
|
||||
# Ruby is required for licensed
|
||||
- uses: ruby/setup-ruby@bc1dd263b68cb5626dbb55d5c89777d79372c484
|
||||
- uses: ruby/setup-ruby@6bd3d993c602f6b675728ebaecb2b569ff86e99b
|
||||
with:
|
||||
ruby-version: "3.2"
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ jobs:
|
||||
- name: Set CURRENT_TAG
|
||||
run: echo "GORELEASER_CURRENT_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
|
||||
- name: Run GoReleaser
|
||||
uses: goreleaser/goreleaser-action@d50b0c42eeed7b45ad20ecc8046a958047efe1d5
|
||||
uses: goreleaser/goreleaser-action@f09f1a7bee7ae6b5153daf4e8c63cc8ce8c7e7d5
|
||||
with:
|
||||
version: latest
|
||||
args: release --clean
|
||||
|
||||
+24
-14
@@ -1,16 +1,26 @@
|
||||
project_name: gh
|
||||
project_name: actions/actions-sync
|
||||
|
||||
builds:
|
||||
- <<: &build_defaults
|
||||
binary: bin/actions-sync
|
||||
id: macos
|
||||
goos: [darwin]
|
||||
goarch: [amd64, arm64]
|
||||
- <<: *build_defaults
|
||||
id: linux
|
||||
goos: [linux]
|
||||
goarch: [amd64, arm64]
|
||||
- <<: *build_defaults
|
||||
id: windows
|
||||
goos: [windows]
|
||||
goarch: [amd64]
|
||||
- id: build
|
||||
goos:
|
||||
- linux
|
||||
- darwin
|
||||
- windows
|
||||
goarch:
|
||||
- amd64
|
||||
- arm64
|
||||
binary: bin/actions-sync
|
||||
ignore:
|
||||
- goos: windows
|
||||
goarch: arm64
|
||||
env:
|
||||
- CGO_ENABLED=0
|
||||
release:
|
||||
github:
|
||||
owner: actions
|
||||
name: actions-sync
|
||||
# Create the release as a draft so it can be tested before being published
|
||||
# To test, go to the Actions tab and run the "Actions Sync E2E Sanity Test" workflow
|
||||
draft: true
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/ProtonMail/go-crypto/bitcurves
|
||||
version: v0.0.0-20230828082145-3c4c8a2d2371
|
||||
version: v1.0.0
|
||||
type: go
|
||||
summary:
|
||||
homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/bitcurves
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/ProtonMail/go-crypto/brainpool
|
||||
version: v0.0.0-20230828082145-3c4c8a2d2371
|
||||
version: v1.0.0
|
||||
type: go
|
||||
summary: Package brainpool implements Brainpool elliptic curves.
|
||||
homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/brainpool
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/ProtonMail/go-crypto/eax
|
||||
version: v0.0.0-20230828082145-3c4c8a2d2371
|
||||
version: v1.0.0
|
||||
type: go
|
||||
summary: 'Package eax provides an implementation of the EAX (encrypt-authenticate-translate)
|
||||
mode of operation, as described in Bellare, Rogaway, and Wagner "THE EAX MODE OF
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/ProtonMail/go-crypto/internal/byteutil
|
||||
version: v0.0.0-20230828082145-3c4c8a2d2371
|
||||
version: v1.0.0
|
||||
type: go
|
||||
summary:
|
||||
homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/internal/byteutil
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/ProtonMail/go-crypto/ocb
|
||||
version: v0.0.0-20230828082145-3c4c8a2d2371
|
||||
version: v1.0.0
|
||||
type: go
|
||||
summary: 'Package ocb provides an implementation of the OCB (offset codebook) mode
|
||||
of operation, as described in RFC-7253 of the IRTF and in Rogaway, Bellare, Black
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/ProtonMail/go-crypto/openpgp
|
||||
version: v0.0.0-20230828082145-3c4c8a2d2371
|
||||
version: v1.0.0
|
||||
type: go
|
||||
summary: Package openpgp implements high level operations on OpenPGP messages.
|
||||
homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/openpgp
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/ProtonMail/go-crypto/openpgp/aes/keywrap
|
||||
version: v0.0.0-20230828082145-3c4c8a2d2371
|
||||
version: v1.0.0
|
||||
type: go
|
||||
summary: Package keywrap is an implementation of the RFC 3394 AES key wrapping algorithm.
|
||||
homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/openpgp/aes/keywrap
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/ProtonMail/go-crypto/openpgp/armor
|
||||
version: v0.0.0-20230828082145-3c4c8a2d2371
|
||||
version: v1.0.0
|
||||
type: go
|
||||
summary: Package armor implements OpenPGP ASCII Armor, see RFC 4880.
|
||||
homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/openpgp/armor
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/ProtonMail/go-crypto/openpgp/ecdh
|
||||
version: v0.0.0-20230828082145-3c4c8a2d2371
|
||||
version: v1.0.0
|
||||
type: go
|
||||
summary: Package ecdh implements ECDH encryption, suitable for OpenPGP, as specified
|
||||
in RFC 6637, section 8.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/ProtonMail/go-crypto/openpgp/ecdsa
|
||||
version: v0.0.0-20230828082145-3c4c8a2d2371
|
||||
version: v1.0.0
|
||||
type: go
|
||||
summary: Package ecdsa implements ECDSA signature, suitable for OpenPGP, as specified
|
||||
in RFC 6637, section 5.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/ProtonMail/go-crypto/openpgp/eddsa
|
||||
version: v0.0.0-20230828082145-3c4c8a2d2371
|
||||
version: v1.0.0
|
||||
type: go
|
||||
summary: Package eddsa implements EdDSA signature, suitable for OpenPGP, as specified
|
||||
in https://datatracker.ietf.org/doc/html/draft-ietf-openpgp-crypto-refresh-06#section-13.7
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/ProtonMail/go-crypto/openpgp/elgamal
|
||||
version: v0.0.0-20230828082145-3c4c8a2d2371
|
||||
version: v1.0.0
|
||||
type: go
|
||||
summary: Package elgamal implements ElGamal encryption, suitable for OpenPGP, as specified
|
||||
in "A Public-Key Cryptosystem and a Signature Scheme Based on Discrete Logarithms,"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/ProtonMail/go-crypto/openpgp/errors
|
||||
version: v0.0.0-20230828082145-3c4c8a2d2371
|
||||
version: v1.0.0
|
||||
type: go
|
||||
summary: Package errors contains common error types for the OpenPGP packages.
|
||||
homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/openpgp/errors
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/ProtonMail/go-crypto/openpgp/internal/algorithm
|
||||
version: v0.0.0-20230828082145-3c4c8a2d2371
|
||||
version: v1.0.0
|
||||
type: go
|
||||
summary:
|
||||
homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/openpgp/internal/algorithm
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/ProtonMail/go-crypto/openpgp/internal/ecc
|
||||
version: v0.0.0-20230828082145-3c4c8a2d2371
|
||||
version: v1.0.0
|
||||
type: go
|
||||
summary: Package ecc implements a generic interface for ECDH, ECDSA, and EdDSA.
|
||||
homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/openpgp/internal/ecc
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/ProtonMail/go-crypto/openpgp/internal/encoding
|
||||
version: v0.0.0-20230828082145-3c4c8a2d2371
|
||||
version: v1.0.0
|
||||
type: go
|
||||
summary: Package encoding implements openpgp packet field encodings as specified in
|
||||
RFC 4880 and 6637.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/ProtonMail/go-crypto/openpgp/packet
|
||||
version: v0.0.0-20230828082145-3c4c8a2d2371
|
||||
version: v1.0.0
|
||||
type: go
|
||||
summary: Package packet implements parsing and serialization of OpenPGP packets, as
|
||||
specified in RFC 4880.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/ProtonMail/go-crypto/openpgp/s2k
|
||||
version: v0.0.0-20230828082145-3c4c8a2d2371
|
||||
version: v1.0.0
|
||||
type: go
|
||||
summary: Package s2k implements the various OpenPGP string-to-key transforms as specified
|
||||
in RFC 4800 section 3.7.1, and Argon2 specified in draft-ietf-openpgp-crypto-refresh-08
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/go-git/go-git/v5
|
||||
version: v5.11.0
|
||||
version: v5.12.0
|
||||
type: go
|
||||
summary: A highly extensible git implementation in pure Go.
|
||||
homepage: https://pkg.go.dev/github.com/go-git/go-git/v5
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/go-git/go-git/v5/config
|
||||
version: v5.11.0
|
||||
version: v5.12.0
|
||||
type: go
|
||||
summary: Package config contains the abstraction of multiple config files
|
||||
homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/config
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/go-git/go-git/v5/internal/path_util
|
||||
version: v5.11.0
|
||||
version: v5.12.0
|
||||
type: go
|
||||
summary:
|
||||
homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/internal/path_util
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/go-git/go-git/v5/internal/revision
|
||||
version: v5.11.0
|
||||
version: v5.12.0
|
||||
type: go
|
||||
summary: 'Package revision extracts git revision from string More information about
|
||||
revision : https://www.kernel.org/pub/software/scm/git/docs/gitrevisions.html'
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/go-git/go-git/v5/internal/url
|
||||
version: v5.11.0
|
||||
version: v5.12.0
|
||||
type: go
|
||||
summary:
|
||||
homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/internal/url
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/go-git/go-git/v5/plumbing
|
||||
version: v5.11.0
|
||||
version: v5.12.0
|
||||
type: go
|
||||
summary: package plumbing implement the core interfaces and structs used by go-git
|
||||
homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/go-git/go-git/v5/plumbing/cache
|
||||
version: v5.11.0
|
||||
version: v5.12.0
|
||||
type: go
|
||||
summary:
|
||||
homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing/cache
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/go-git/go-git/v5/plumbing/color
|
||||
version: v5.11.0
|
||||
version: v5.12.0
|
||||
type: go
|
||||
summary:
|
||||
homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing/color
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/go-git/go-git/v5/plumbing/filemode
|
||||
version: v5.11.0
|
||||
version: v5.12.0
|
||||
type: go
|
||||
summary:
|
||||
homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing/filemode
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/go-git/go-git/v5/plumbing/format/config
|
||||
version: v5.11.0
|
||||
version: v5.12.0
|
||||
type: go
|
||||
summary: Package config implements encoding and decoding of git config files.
|
||||
homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing/format/config
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/go-git/go-git/v5/plumbing/format/diff
|
||||
version: v5.11.0
|
||||
version: v5.12.0
|
||||
type: go
|
||||
summary:
|
||||
homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing/format/diff
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/go-git/go-git/v5/plumbing/format/gitignore
|
||||
version: v5.11.0
|
||||
version: v5.12.0
|
||||
type: go
|
||||
summary: Package gitignore implements matching file system paths to gitignore patterns
|
||||
that can be automatically read from a git repository tree in the order of definition
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/go-git/go-git/v5/plumbing/format/idxfile
|
||||
version: v5.11.0
|
||||
version: v5.12.0
|
||||
type: go
|
||||
summary: Package idxfile implements encoding and decoding of packfile idx files.
|
||||
homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing/format/idxfile
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/go-git/go-git/v5/plumbing/format/index
|
||||
version: v5.11.0
|
||||
version: v5.12.0
|
||||
type: go
|
||||
summary: Package index implements encoding and decoding of index format files.
|
||||
homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing/format/index
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/go-git/go-git/v5/plumbing/format/objfile
|
||||
version: v5.11.0
|
||||
version: v5.12.0
|
||||
type: go
|
||||
summary: Package objfile implements encoding and decoding of object files.
|
||||
homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing/format/objfile
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/go-git/go-git/v5/plumbing/format/packfile
|
||||
version: v5.11.0
|
||||
version: v5.12.0
|
||||
type: go
|
||||
summary: Package packfile implements encoding and decoding of packfile format.
|
||||
homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing/format/packfile
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/go-git/go-git/v5/plumbing/format/pktline
|
||||
version: v5.11.0
|
||||
version: v5.12.0
|
||||
type: go
|
||||
summary: Package pktline implements reading payloads form pkt-lines and encoding pkt-lines
|
||||
from payloads.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/go-git/go-git/v5/plumbing/hash
|
||||
version: v5.11.0
|
||||
version: v5.12.0
|
||||
type: go
|
||||
summary: package hash provides a way for managing the underlying hash implementations
|
||||
used across go-git.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/go-git/go-git/v5/plumbing/object
|
||||
version: v5.11.0
|
||||
version: v5.12.0
|
||||
type: go
|
||||
summary: Package object contains implementations of all Git objects and utility functions
|
||||
to work with them.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/go-git/go-git/v5/plumbing/protocol/packp
|
||||
version: v5.11.0
|
||||
version: v5.12.0
|
||||
type: go
|
||||
summary:
|
||||
homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing/protocol/packp
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/go-git/go-git/v5/plumbing/protocol/packp/capability
|
||||
version: v5.11.0
|
||||
version: v5.12.0
|
||||
type: go
|
||||
summary: Package capability defines the server and client capabilities.
|
||||
homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing/protocol/packp/capability
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/go-git/go-git/v5/plumbing/protocol/packp/sideband
|
||||
version: v5.11.0
|
||||
version: v5.12.0
|
||||
type: go
|
||||
summary: Package sideband implements a sideband mutiplex/demultiplexer
|
||||
homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing/protocol/packp/sideband
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/go-git/go-git/v5/plumbing/revlist
|
||||
version: v5.11.0
|
||||
version: v5.12.0
|
||||
type: go
|
||||
summary: Package revlist provides support to access the ancestors of commits, in a
|
||||
similar way as the git-rev-list command.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/go-git/go-git/v5/plumbing/storer
|
||||
version: v5.11.0
|
||||
version: v5.12.0
|
||||
type: go
|
||||
summary: Package storer defines the interfaces to store objects, references, etc.
|
||||
homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing/storer
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/go-git/go-git/v5/plumbing/transport
|
||||
version: v5.11.0
|
||||
version: v5.12.0
|
||||
type: go
|
||||
summary: Package transport includes the implementation for different transport protocols.
|
||||
homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing/transport
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/go-git/go-git/v5/plumbing/transport/client
|
||||
version: v5.11.0
|
||||
version: v5.12.0
|
||||
type: go
|
||||
summary: Package client contains helper function to deal with the different client
|
||||
protocols.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/go-git/go-git/v5/plumbing/transport/file
|
||||
version: v5.11.0
|
||||
version: v5.12.0
|
||||
type: go
|
||||
summary: Package file implements the file transport protocol.
|
||||
homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing/transport/file
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/go-git/go-git/v5/plumbing/transport/git
|
||||
version: v5.11.0
|
||||
version: v5.12.0
|
||||
type: go
|
||||
summary: Package git implements the git transport protocol.
|
||||
homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing/transport/git
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/go-git/go-git/v5/plumbing/transport/http
|
||||
version: v5.11.0
|
||||
version: v5.12.0
|
||||
type: go
|
||||
summary: Package http implements the HTTP transport protocol.
|
||||
homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing/transport/http
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/go-git/go-git/v5/plumbing/transport/internal/common
|
||||
version: v5.11.0
|
||||
version: v5.12.0
|
||||
type: go
|
||||
summary: Package common implements the git pack protocol with a pluggable transport.
|
||||
homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing/transport/internal/common
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/go-git/go-git/v5/plumbing/transport/server
|
||||
version: v5.11.0
|
||||
version: v5.12.0
|
||||
type: go
|
||||
summary: Package server implements the git server protocol.
|
||||
homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing/transport/server
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/go-git/go-git/v5/plumbing/transport/ssh
|
||||
version: v5.11.0
|
||||
version: v5.12.0
|
||||
type: go
|
||||
summary: Package ssh implements the SSH transport protocol.
|
||||
homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/plumbing/transport/ssh
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/go-git/go-git/v5/storage
|
||||
version: v5.11.0
|
||||
version: v5.12.0
|
||||
type: go
|
||||
summary:
|
||||
homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/storage
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/go-git/go-git/v5/storage/filesystem
|
||||
version: v5.11.0
|
||||
version: v5.12.0
|
||||
type: go
|
||||
summary: Package filesystem is a storage backend base on filesystems
|
||||
homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/storage/filesystem
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/go-git/go-git/v5/storage/filesystem/dotgit
|
||||
version: v5.11.0
|
||||
version: v5.12.0
|
||||
type: go
|
||||
summary: https://github.com/git/git/blob/master/Documentation/gitrepository-layout.txt
|
||||
homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/storage/filesystem/dotgit
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/go-git/go-git/v5/storage/memory
|
||||
version: v5.11.0
|
||||
version: v5.12.0
|
||||
type: go
|
||||
summary: Package memory is a storage backend base on memory
|
||||
homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/storage/memory
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/go-git/go-git/v5/utils/binary
|
||||
version: v5.11.0
|
||||
version: v5.12.0
|
||||
type: go
|
||||
summary: Package binary implements syntax-sugar functions on top of the standard library
|
||||
binary package
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/go-git/go-git/v5/utils/diff
|
||||
version: v5.11.0
|
||||
version: v5.12.0
|
||||
type: go
|
||||
summary: Package diff implements line oriented diffs, similar to the ancient Unix
|
||||
diff command.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/go-git/go-git/v5/utils/ioutil
|
||||
version: v5.11.0
|
||||
version: v5.12.0
|
||||
type: go
|
||||
summary: Package ioutil implements some I/O utility functions.
|
||||
homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/utils/ioutil
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/go-git/go-git/v5/utils/merkletrie
|
||||
version: v5.11.0
|
||||
version: v5.12.0
|
||||
type: go
|
||||
summary: Package merkletrie provides support for n-ary trees that are at the same
|
||||
time Merkle trees and Radix trees (tries).
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/go-git/go-git/v5/utils/merkletrie/filesystem
|
||||
version: v5.11.0
|
||||
version: v5.12.0
|
||||
type: go
|
||||
summary:
|
||||
homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/utils/merkletrie/filesystem
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/go-git/go-git/v5/utils/merkletrie/index
|
||||
version: v5.11.0
|
||||
version: v5.12.0
|
||||
type: go
|
||||
summary:
|
||||
homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/utils/merkletrie/index
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/go-git/go-git/v5/utils/merkletrie/internal/frame
|
||||
version: v5.11.0
|
||||
version: v5.12.0
|
||||
type: go
|
||||
summary:
|
||||
homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/utils/merkletrie/internal/frame
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/go-git/go-git/v5/utils/merkletrie/noder
|
||||
version: v5.11.0
|
||||
version: v5.12.0
|
||||
type: go
|
||||
summary: Package noder provide an interface for defining nodes in a merkletrie, their
|
||||
hashes and their paths (a noders and its ancestors).
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/go-git/go-git/v5/utils/sync
|
||||
version: v5.11.0
|
||||
version: v5.12.0
|
||||
type: go
|
||||
summary:
|
||||
homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/utils/sync
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/go-git/go-git/v5/utils/trace
|
||||
version: v5.11.0
|
||||
version: v5.12.0
|
||||
type: go
|
||||
summary:
|
||||
homepage: https://pkg.go.dev/github.com/go-git/go-git/v5/utils/trace
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/sergi/go-diff/diffmatchpatch
|
||||
version: v1.2.0
|
||||
version: v1.3.2-0.20230802210424-5b0b94c5c0d3
|
||||
type: go
|
||||
summary: Package diffmatchpatch offers robust algorithms to perform the operations
|
||||
required for synchronizing plain text.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: github.com/skeema/knownhosts
|
||||
version: v1.2.1
|
||||
version: v1.2.2
|
||||
type: go
|
||||
summary: Package knownhosts is a thin wrapper around golang.org/x/crypto/ssh/knownhosts,
|
||||
adding the ability to obtain the list of host key algorithms for a known host.
|
||||
@@ -212,7 +212,7 @@ licenses:
|
||||
limitations under the License.
|
||||
- sources: README.md
|
||||
text: |-
|
||||
**Source code copyright 2023 Skeema LLC and the Skeema Knownhosts authors**
|
||||
**Source code copyright 2024 Skeema LLC and the Skeema Knownhosts authors**
|
||||
|
||||
```text
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
@@ -230,7 +230,7 @@ licenses:
|
||||
notices:
|
||||
- sources: NOTICE
|
||||
text: |-
|
||||
Copyright 2023 Skeema LLC and the Skeema Knownhosts authors
|
||||
Copyright 2024 Skeema LLC and the Skeema Knownhosts authors
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: golang.org/x/crypto/argon2
|
||||
version: v0.19.0
|
||||
version: v0.21.0
|
||||
type: go
|
||||
summary: Package argon2 implements the key derivation function Argon2.
|
||||
homepage: https://pkg.go.dev/golang.org/x/crypto/argon2
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: golang.org/x/crypto/blake2b
|
||||
version: v0.19.0
|
||||
version: v0.21.0
|
||||
type: go
|
||||
summary: Package blake2b implements the BLAKE2b hash algorithm defined by RFC 7693
|
||||
and the extendable output function (XOF) BLAKE2Xb.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: golang.org/x/crypto/blowfish
|
||||
version: v0.19.0
|
||||
version: v0.21.0
|
||||
type: go
|
||||
summary: Package blowfish implements Bruce Schneier's Blowfish encryption algorithm.
|
||||
homepage: https://pkg.go.dev/golang.org/x/crypto/blowfish
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: golang.org/x/crypto/cast5
|
||||
version: v0.19.0
|
||||
version: v0.21.0
|
||||
type: go
|
||||
summary: Package cast5 implements CAST5, as defined in RFC 2144.
|
||||
homepage: https://pkg.go.dev/golang.org/x/crypto/cast5
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: golang.org/x/crypto/curve25519
|
||||
version: v0.19.0
|
||||
version: v0.21.0
|
||||
type: go
|
||||
summary: Package curve25519 provides an implementation of the X25519 function, which
|
||||
performs scalar multiplication on the elliptic curve known as Curve25519.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: golang.org/x/crypto/openpgp
|
||||
version: v0.19.0
|
||||
version: v0.21.0
|
||||
type: go
|
||||
summary: Package openpgp implements high level operations on OpenPGP messages.
|
||||
homepage: https://pkg.go.dev/golang.org/x/crypto/openpgp
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: golang.org/x/crypto/openpgp/armor
|
||||
version: v0.19.0
|
||||
version: v0.21.0
|
||||
type: go
|
||||
summary: Package armor implements OpenPGP ASCII Armor, see RFC 4880.
|
||||
homepage: https://pkg.go.dev/golang.org/x/crypto/openpgp/armor
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: golang.org/x/crypto/openpgp/elgamal
|
||||
version: v0.19.0
|
||||
version: v0.21.0
|
||||
type: go
|
||||
summary: Package elgamal implements ElGamal encryption, suitable for OpenPGP, as specified
|
||||
in "A Public-Key Cryptosystem and a Signature Scheme Based on Discrete Logarithms,"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: golang.org/x/crypto/openpgp/errors
|
||||
version: v0.19.0
|
||||
version: v0.21.0
|
||||
type: go
|
||||
summary: Package errors contains common error types for the OpenPGP packages.
|
||||
homepage: https://pkg.go.dev/golang.org/x/crypto/openpgp/errors
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: golang.org/x/crypto/openpgp/packet
|
||||
version: v0.19.0
|
||||
version: v0.21.0
|
||||
type: go
|
||||
summary: Package packet implements parsing and serialization of OpenPGP packets, as
|
||||
specified in RFC 4880.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: golang.org/x/crypto/openpgp/s2k
|
||||
version: v0.19.0
|
||||
version: v0.21.0
|
||||
type: go
|
||||
summary: Package s2k implements the various OpenPGP string-to-key transforms as specified
|
||||
in RFC 4800 section 3.7.1.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: golang.org/x/crypto/sha3
|
||||
version: v0.19.0
|
||||
version: v0.21.0
|
||||
type: go
|
||||
summary: Package sha3 implements the SHA-3 fixed-output-length hash functions and
|
||||
the SHAKE variable-output-length hash functions defined by FIPS-202.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: golang.org/x/crypto/ssh
|
||||
version: v0.19.0
|
||||
version: v0.21.0
|
||||
type: go
|
||||
summary: Package ssh implements an SSH client and server.
|
||||
homepage: https://pkg.go.dev/golang.org/x/crypto/ssh
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: golang.org/x/crypto/ssh/agent
|
||||
version: v0.19.0
|
||||
version: v0.21.0
|
||||
type: go
|
||||
summary: Package agent implements the ssh-agent protocol, and provides both a client
|
||||
and a server.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: golang.org/x/crypto/ssh/internal/bcrypt_pbkdf
|
||||
version: v0.19.0
|
||||
version: v0.21.0
|
||||
type: go
|
||||
summary: Package bcrypt_pbkdf implements bcrypt_pbkdf(3) from OpenBSD.
|
||||
homepage: https://pkg.go.dev/golang.org/x/crypto/ssh/internal/bcrypt_pbkdf
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: golang.org/x/crypto/ssh/knownhosts
|
||||
version: v0.19.0
|
||||
version: v0.21.0
|
||||
type: go
|
||||
summary: Package knownhosts implements a parser for the OpenSSH known_hosts host key
|
||||
database, and provides utility functions for writing OpenSSH compliant known_hosts
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: golang.org/x/net/context
|
||||
version: v0.21.0
|
||||
version: v0.23.0
|
||||
type: go
|
||||
summary: Package context defines the Context type, which carries deadlines, cancelation
|
||||
signals, and other request-scoped values across API boundaries and between processes.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: golang.org/x/net/internal/socks
|
||||
version: v0.21.0
|
||||
version: v0.23.0
|
||||
type: go
|
||||
summary: Package socks provides a SOCKS version 5 client implementation.
|
||||
homepage: https://pkg.go.dev/golang.org/x/net/internal/socks
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: golang.org/x/net/proxy
|
||||
version: v0.21.0
|
||||
version: v0.23.0
|
||||
type: go
|
||||
summary: Package proxy provides support for a variety of protocols to proxy network
|
||||
data.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: golang.org/x/oauth2
|
||||
version: v0.17.0
|
||||
version: v0.19.0
|
||||
type: go
|
||||
summary: Package oauth2 provides support for making OAuth2 authorized and authenticated
|
||||
HTTP requests, as specified in RFC 6749.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: golang.org/x/oauth2/internal
|
||||
version: v0.17.0
|
||||
version: v0.19.0
|
||||
type: go
|
||||
summary: Package internal contains support packages for oauth2 package.
|
||||
homepage: https://pkg.go.dev/golang.org/x/oauth2/internal
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: golang.org/x/sys/execabs
|
||||
version: v0.17.0
|
||||
version: v0.18.0
|
||||
type: go
|
||||
summary: Package execabs is a drop-in replacement for os/exec that requires PATH lookups
|
||||
to find absolute paths.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: golang.org/x/sys/unix
|
||||
version: v0.17.0
|
||||
version: v0.18.0
|
||||
type: go
|
||||
summary: Package unix contains an interface to the low-level operating system primitives.
|
||||
homepage: https://pkg.go.dev/golang.org/x/sys/unix
|
||||
|
||||
@@ -14,6 +14,24 @@ It is designed to work when:
|
||||
* The GitHub Enterprise instance is separate from the rest of the internet.
|
||||
* The GitHub Enterprise instance is connected to the rest of the internet.
|
||||
|
||||
### Note
|
||||
|
||||
Thank you for your interest in this GitHub action, however, right now we are not taking contributions. Add commentMore actionsAdd commentMore actions
|
||||
|
||||
We continue to focus our resources on strategic areas that help our customers be successful while making developers' lives easier. While GitHub Actions remains a key part of this vision, we are allocating resources towards other areas of Actions and are not taking contributions to this repository at this time. The GitHub public roadmap is the best place to follow along for any updates on features we’re working on and what stage they’re in.
|
||||
|
||||
We are taking the following steps to better direct requests related to GitHub Actions, including:
|
||||
|
||||
1. We will be directing questions and support requests to our [Community Discussions area](https://github.com/orgs/community/discussions/categories/actions)
|
||||
|
||||
2. High Priority bugs can be reported through Community Discussions or you can report these to our support team https://support.github.com/contact/bug-report.
|
||||
|
||||
3. Security Issues should be handled as per our [security.md](security.md)
|
||||
|
||||
We will still provide security updates for this project and fix major breaking changes during this time.
|
||||
|
||||
You are welcome to still raise bugs in this repo.
|
||||
|
||||
## Connected instances
|
||||
|
||||
When there are machines which have access to both the public internet and the GHES instance run `actions-sync sync`.
|
||||
@@ -110,7 +128,3 @@ When no machine has access to both the public internet and the GHES instance:
|
||||
|
||||
When creating a personal access token include the `repo` and `workflow` scopes. Include the `site_admin` scope (optional) if you want organizations to be created as necessary or you want to use the impersonation logic for the `push` or `sync` commands.
|
||||
|
||||
## Contributing
|
||||
|
||||
If you would like to contribute your work back to the project, please see
|
||||
[`CONTRIBUTING.md`](CONTRIBUTING.md).
|
||||
|
||||
@@ -3,19 +3,19 @@ module github.com/actions/actions-sync
|
||||
go 1.21
|
||||
|
||||
require (
|
||||
github.com/go-git/go-git/v5 v5.11.0
|
||||
github.com/go-git/go-git/v5 v5.12.0
|
||||
github.com/google/go-github/v43 v43.0.0
|
||||
github.com/gorilla/mux v1.8.1
|
||||
github.com/pkg/errors v0.9.1
|
||||
github.com/spf13/cobra v1.8.0
|
||||
github.com/stretchr/testify v1.8.4
|
||||
golang.org/x/oauth2 v0.17.0
|
||||
github.com/stretchr/testify v1.9.0
|
||||
golang.org/x/oauth2 v0.19.0
|
||||
)
|
||||
|
||||
require (
|
||||
dario.cat/mergo v1.0.0 // indirect
|
||||
github.com/Microsoft/go-winio v0.6.1 // indirect
|
||||
github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371 // indirect
|
||||
github.com/ProtonMail/go-crypto v1.0.0 // indirect
|
||||
github.com/cloudflare/circl v1.3.7 // indirect
|
||||
github.com/cyphar/filepath-securejoin v0.2.4 // indirect
|
||||
github.com/davecgh/go-spew v1.1.1 // indirect
|
||||
@@ -23,24 +23,21 @@ require (
|
||||
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
|
||||
github.com/go-git/go-billy/v5 v5.5.0 // indirect
|
||||
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
|
||||
github.com/golang/protobuf v1.5.3 // indirect
|
||||
github.com/google/go-querystring v1.1.0 // indirect
|
||||
github.com/inconshreveable/mousetrap v1.1.0 // indirect
|
||||
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
|
||||
github.com/kevinburke/ssh_config v1.2.0 // indirect
|
||||
github.com/pjbgf/sha1cd v0.3.0 // indirect
|
||||
github.com/pmezard/go-difflib v1.0.0 // indirect
|
||||
github.com/sergi/go-diff v1.2.0 // indirect
|
||||
github.com/skeema/knownhosts v1.2.1 // indirect
|
||||
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect
|
||||
github.com/skeema/knownhosts v1.2.2 // indirect
|
||||
github.com/spf13/pflag v1.0.5 // indirect
|
||||
github.com/xanzy/ssh-agent v0.3.3 // indirect
|
||||
golang.org/x/crypto v0.19.0 // indirect
|
||||
golang.org/x/crypto v0.21.0 // indirect
|
||||
golang.org/x/mod v0.12.0 // indirect
|
||||
golang.org/x/net v0.21.0 // indirect
|
||||
golang.org/x/sys v0.17.0 // indirect
|
||||
golang.org/x/net v0.23.0 // indirect
|
||||
golang.org/x/sys v0.18.0 // indirect
|
||||
golang.org/x/tools v0.13.0 // indirect
|
||||
google.golang.org/appengine v1.6.7 // indirect
|
||||
google.golang.org/protobuf v1.31.0 // indirect
|
||||
gopkg.in/warnings.v0 v0.1.2 // indirect
|
||||
gopkg.in/yaml.v3 v3.0.1 // indirect
|
||||
)
|
||||
|
||||
@@ -3,8 +3,8 @@ dario.cat/mergo v1.0.0/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk=
|
||||
github.com/Microsoft/go-winio v0.5.2/go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY=
|
||||
github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migciow=
|
||||
github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM=
|
||||
github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371 h1:kkhsdkhsCvIsutKu5zLMgWtgh9YxGCNAw8Ad8hjwfYg=
|
||||
github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371/go.mod h1:EjAoLdwvbIOoOQr3ihjnSoLZRtE8azugULFRteWMNc0=
|
||||
github.com/ProtonMail/go-crypto v1.0.0 h1:LRuvITjQWX+WIfr930YHG2HNfjR1uOfyf5vE0kC2U78=
|
||||
github.com/ProtonMail/go-crypto v1.0.0/go.mod h1:EjAoLdwvbIOoOQr3ihjnSoLZRtE8azugULFRteWMNc0=
|
||||
github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be h1:9AeTilPcZAjCFIImctFaOjnTIavg87rW78vTPkQqLI8=
|
||||
github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be/go.mod h1:ySMOLuWl6zY27l47sB3qLNK6tF2fkHG55UZxx8oIVo4=
|
||||
github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio=
|
||||
@@ -23,24 +23,19 @@ github.com/elazarl/goproxy v0.0.0-20230808193330-2592e75ae04a h1:mATvB/9r/3gvcej
|
||||
github.com/elazarl/goproxy v0.0.0-20230808193330-2592e75ae04a/go.mod h1:Ro8st/ElPeALwNFlcTpWmkr6IoMFfkjXAvTHpevnDsM=
|
||||
github.com/emirpasic/gods v1.18.1 h1:FXtiHYKDGKCW2KzwZKx0iC0PQmdlorYgdFG9jPXJ1Bc=
|
||||
github.com/emirpasic/gods v1.18.1/go.mod h1:8tpGGwCnJ5H4r6BWwaV6OrWmMoPhUl5jm/FMNAnJvWQ=
|
||||
github.com/gliderlabs/ssh v0.3.5 h1:OcaySEmAQJgyYcArR+gGGTHCyE7nvhEMTlYY+Dp8CpY=
|
||||
github.com/gliderlabs/ssh v0.3.5/go.mod h1:8XB4KraRrX39qHhT6yxPsHedjA08I/uBVwj4xC+/+z4=
|
||||
github.com/gliderlabs/ssh v0.3.7 h1:iV3Bqi942d9huXnzEF2Mt+CY9gLu8DNM4Obd+8bODRE=
|
||||
github.com/gliderlabs/ssh v0.3.7/go.mod h1:zpHEXBstFnQYtGnB8k8kQLol82umzn/2/snG7alWVD8=
|
||||
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 h1:+zs/tPmkDkHx3U66DAb0lQFJrpS6731Oaa12ikc+DiI=
|
||||
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376/go.mod h1:an3vInlBmSxCcxctByoQdvwPiA7DTK7jaaFDBTtu0ic=
|
||||
github.com/go-git/go-billy/v5 v5.5.0 h1:yEY4yhzCDuMGSv83oGxiBotRzhwhNr8VZyphhiu+mTU=
|
||||
github.com/go-git/go-billy/v5 v5.5.0/go.mod h1:hmexnoNsr2SJU1Ju67OaNz5ASJY3+sHgFRpCtpDCKow=
|
||||
github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399 h1:eMje31YglSBqCdIqdhKBW8lokaMrL3uTkpGYlE2OOT4=
|
||||
github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399/go.mod h1:1OCfN199q1Jm3HZlxleg+Dw/mwps2Wbk9frAWm+4FII=
|
||||
github.com/go-git/go-git/v5 v5.11.0 h1:XIZc1p+8YzypNr34itUfSvYJcv+eYdTnTvOZ2vD3cA4=
|
||||
github.com/go-git/go-git/v5 v5.11.0/go.mod h1:6GFcX2P3NM7FPBfpePbpLd21XxsgdAt+lKqXmCUiUCY=
|
||||
github.com/go-git/go-git/v5 v5.12.0 h1:7Md+ndsjrzZxbddRDZjF14qK+NN56sy6wkqaVrjZtys=
|
||||
github.com/go-git/go-git/v5 v5.12.0/go.mod h1:FTM9VKtnI2m65hNI/TenDDDnUf2Q9FHnXYjuz9i5OEY=
|
||||
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE=
|
||||
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
|
||||
github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
|
||||
github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
|
||||
github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg=
|
||||
github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
|
||||
github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
|
||||
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
|
||||
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
|
||||
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
|
||||
github.com/google/go-github/v43 v43.0.0 h1:y+GL7LIsAIF2NZlJ46ZoC/D1W1ivZasT0lnWHMYPZ+U=
|
||||
@@ -73,11 +68,11 @@ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZN
|
||||
github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M=
|
||||
github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA=
|
||||
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
|
||||
github.com/sergi/go-diff v1.2.0 h1:XU+rvMAioB0UC3q1MFrIQy4Vo5/4VsRDQQXHsEya6xQ=
|
||||
github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM=
|
||||
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 h1:n661drycOFuPLCN3Uc8sB6B/s6Z4t2xvBgU1htSHuq8=
|
||||
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3/go.mod h1:A0bzQcvG0E7Rwjx0REVgAGH58e96+X0MeOfepqsbeW4=
|
||||
github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0=
|
||||
github.com/skeema/knownhosts v1.2.1 h1:SHWdIUa82uGZz+F+47k8SY4QhhI291cXCpopT1lK2AQ=
|
||||
github.com/skeema/knownhosts v1.2.1/go.mod h1:xYbVRSPxqBZFrdmDyMmsOs+uX1UZC3nTN3ThzgDxUwo=
|
||||
github.com/skeema/knownhosts v1.2.2 h1:Iug2P4fLmDw9f41PB6thxUkNUkJzB5i+1/exaj40L3A=
|
||||
github.com/skeema/knownhosts v1.2.2/go.mod h1:xYbVRSPxqBZFrdmDyMmsOs+uX1UZC3nTN3ThzgDxUwo=
|
||||
github.com/spf13/cobra v1.8.0 h1:7aJaZx1B85qltLMc546zn58BxxfZdR/W22ej9CFoEf0=
|
||||
github.com/spf13/cobra v1.8.0/go.mod h1:WXLWApfZ71AjXPya3WOlMsY9yMs7YeiHhFVlvLyhcho=
|
||||
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
|
||||
@@ -85,8 +80,8 @@ github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An
|
||||
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
|
||||
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
|
||||
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
|
||||
github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
|
||||
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
|
||||
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
|
||||
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
|
||||
github.com/xanzy/ssh-agent v0.3.3 h1:+/15pJfg/RsTxqYcX6fHqOXZwwMP+2VyYWJeWM2qQFM=
|
||||
github.com/xanzy/ssh-agent v0.3.3/go.mod h1:6dzNDKs0J9rVPHPhaGCukekBHKqfl+L3KghI1Bc68Uw=
|
||||
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
|
||||
@@ -95,13 +90,12 @@ golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5y
|
||||
golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
|
||||
golang.org/x/crypto v0.3.1-0.20221117191849-2c476679df9a/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4=
|
||||
golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU=
|
||||
golang.org/x/crypto v0.19.0 h1:ENy+Az/9Y1vSrlrvBSyna3PITt4tiZLf7sgCjZBX7Wo=
|
||||
golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDfU=
|
||||
golang.org/x/crypto v0.21.0 h1:X31++rzVUdKhX5sWmSOFZxx8UW/ldWx55cbf08iNAMA=
|
||||
golang.org/x/crypto v0.21.0/go.mod h1:0BP7YvVV9gBbVKyeTG0Gyn+gZm94bibOW5BjDEYAOMs=
|
||||
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
|
||||
golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
|
||||
golang.org/x/mod v0.12.0 h1:rmsUpXtvNzj340zd98LZ4KntptpfRHwpFOHG188oHXc=
|
||||
golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
|
||||
golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks=
|
||||
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
|
||||
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
|
||||
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
|
||||
@@ -109,10 +103,10 @@ golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug
|
||||
golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY=
|
||||
golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
|
||||
golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc=
|
||||
golang.org/x/net v0.21.0 h1:AQyQV4dYCvJ7vGmJyKki9+PBdyvhkSd8EIx/qb0AYv4=
|
||||
golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44=
|
||||
golang.org/x/oauth2 v0.17.0 h1:6m3ZPmLEFdVxKKWnKq4VqZ60gutO35zm+zrAHVmHyDQ=
|
||||
golang.org/x/oauth2 v0.17.0/go.mod h1:OzPDGQiuQMguemayvdylqddI7qcD9lnSDb+1FiwQ5HA=
|
||||
golang.org/x/net v0.23.0 h1:7EYJ93RZ9vYSZAIb2x3lnuvqO5zneoD6IvWjuhfxjTs=
|
||||
golang.org/x/net v0.23.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg=
|
||||
golang.org/x/oauth2 v0.19.0 h1:9+E/EZBCbTLNrbN35fHv/a/d/mOBatymz1zbtQrXpIg=
|
||||
golang.org/x/oauth2 v0.19.0/go.mod h1:vYi7skDa1x015PmRRYZ7+s1cWyPgrPiSYRe4rnsexc8=
|
||||
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||
golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
|
||||
@@ -131,17 +125,16 @@ golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.17.0 h1:25cE3gD+tdBA7lp7QfhuV+rJiE9YXTcS3VG1SqssI/Y=
|
||||
golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
|
||||
golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4=
|
||||
golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
|
||||
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
|
||||
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
|
||||
golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc=
|
||||
golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k=
|
||||
golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U=
|
||||
golang.org/x/term v0.17.0 h1:mkTF7LCd6WGJNL3K1Ad7kwxNfYAW6a8a8QqtMblp/4U=
|
||||
golang.org/x/term v0.17.0/go.mod h1:lLRBjIVuehSbZlaOtGMbcMncT+aqLLLmKrsjNrUguwk=
|
||||
golang.org/x/term v0.18.0 h1:FcHjZXDMxI8mM3nwhX9HlKop4C0YQvCVCdwYl2wOtE8=
|
||||
golang.org/x/term v0.18.0/go.mod h1:ILwASektA3OnRv7amZ1xhE/KTR+u50pbXfZ03+6Nx58=
|
||||
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
||||
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
|
||||
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
|
||||
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
|
||||
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
|
||||
@@ -158,12 +151,6 @@ golang.org/x/tools v0.13.0 h1:Iey4qkscZuv0VvIt8E0neZjtPVQFSc870HQ448QgEmQ=
|
||||
golang.org/x/tools v0.13.0/go.mod h1:HvlwmtVNQAhOuCjW7xxvovg8wbNq7LwfXh/k7wXUl58=
|
||||
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
||||
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
||||
google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c=
|
||||
google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
|
||||
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
|
||||
google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
|
||||
google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8=
|
||||
google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
|
||||
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
||||
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
||||
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
|
||||
@@ -171,6 +158,6 @@ gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EV
|
||||
gopkg.in/warnings.v0 v0.1.2 h1:wFXVbFY8DY5/xOe1ECiWdKCzZlxgshcYVNkBHstARME=
|
||||
gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI=
|
||||
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
|
||||
gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
|
||||
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
|
||||
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
|
||||
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|
||||
|
||||
+1
-1
@@ -7,4 +7,4 @@ test -z "${DEBUG:-}" || {
|
||||
set -x
|
||||
}
|
||||
|
||||
go build -o bin/actions-sync main.go
|
||||
CGO_ENABLED=0 go build -o bin/actions-sync main.go
|
||||
|
||||
+55
-27
@@ -58,9 +58,9 @@ function test_push() {
|
||||
|
||||
# Push multiple branches
|
||||
setup_cache "org/repo:heads/change:e9009d51dd6da2c363d1d14779c53dd27fcb0c52" \
|
||||
"org/repo:heads/nochange:a5984bb887dd2fcdc2892cd906d6f004844d1142"
|
||||
"org/repo:heads/nochange:a5984bb887dd2fcdc2892cd906d6f004844d1142"
|
||||
setup_dest "org/repo:heads/change:a5984bb887dd2fcdc2892cd906d6f004844d1142" \
|
||||
"org/repo:heads/nochange:a5984bb887dd2fcdc2892cd906d6f004844d1142"
|
||||
"org/repo:heads/nochange:a5984bb887dd2fcdc2892cd906d6f004844d1142"
|
||||
|
||||
push "pushing multiple branches"
|
||||
assert_dest_sha "org/repo" "heads/change" "e9009d51dd6da2c363d1d14779c53dd27fcb0c52" "updating org/repo:heads/change to new commit"
|
||||
@@ -68,9 +68,9 @@ function test_push() {
|
||||
|
||||
# Pushing multiple branches and tags
|
||||
setup_cache "org/repo:heads/main:e9009d51dd6da2c363d1d14779c53dd27fcb0c52" \
|
||||
"org/repo:tags/v1:e9009d51dd6da2c363d1d14779c53dd27fcb0c52"
|
||||
"org/repo:tags/v1:e9009d51dd6da2c363d1d14779c53dd27fcb0c52"
|
||||
setup_dest "org/repo:heads/main:a5984bb887dd2fcdc2892cd906d6f004844d1142" \
|
||||
"org/repo:tags/v1:a5984bb887dd2fcdc2892cd906d6f004844d1142"
|
||||
"org/repo:tags/v1:a5984bb887dd2fcdc2892cd906d6f004844d1142"
|
||||
|
||||
push "pushing multiple branches and tags"
|
||||
assert_dest_sha "org/repo" "heads/main" "e9009d51dd6da2c363d1d14779c53dd27fcb0c52" "updating org/repo:heads/main to new commit"
|
||||
@@ -78,13 +78,13 @@ function test_push() {
|
||||
|
||||
# Pushing multiple repositories
|
||||
setup_cache "org1/repo1:heads/main:e9009d51dd6da2c363d1d14779c53dd27fcb0c52" \
|
||||
"org1/repo2:heads/main:e9009d51dd6da2c363d1d14779c53dd27fcb0c52" \
|
||||
"org1/repo2:tags/v1:e9009d51dd6da2c363d1d14779c53dd27fcb0c52" \
|
||||
"org2/repo1:heads/main:e9009d51dd6da2c363d1d14779c53dd27fcb0c52"
|
||||
"org1/repo2:heads/main:e9009d51dd6da2c363d1d14779c53dd27fcb0c52" \
|
||||
"org1/repo2:tags/v1:e9009d51dd6da2c363d1d14779c53dd27fcb0c52" \
|
||||
"org2/repo1:heads/main:e9009d51dd6da2c363d1d14779c53dd27fcb0c52"
|
||||
setup_dest "org1/repo1:heads/main:a5984bb887dd2fcdc2892cd906d6f004844d1142" \
|
||||
"org1/repo2:heads/main:a5984bb887dd2fcdc2892cd906d6f004844d1142" \
|
||||
"org1/repo2:tags/v1:a5984bb887dd2fcdc2892cd906d6f004844d1142" \
|
||||
"org2/repo1:heads/main:a5984bb887dd2fcdc2892cd906d6f004844d1142"
|
||||
"org1/repo2:heads/main:a5984bb887dd2fcdc2892cd906d6f004844d1142" \
|
||||
"org1/repo2:tags/v1:a5984bb887dd2fcdc2892cd906d6f004844d1142" \
|
||||
"org2/repo1:heads/main:a5984bb887dd2fcdc2892cd906d6f004844d1142"
|
||||
|
||||
push "pushing multiple repositories"
|
||||
assert_dest_sha "org1/repo1" "heads/main" "e9009d51dd6da2c363d1d14779c53dd27fcb0c52" "updating org1/repo1:heads/main to new commit"
|
||||
@@ -94,9 +94,9 @@ function test_push() {
|
||||
|
||||
# Honor --repo-name flag, ignore other cache entries
|
||||
setup_cache "org/repo1:heads/main:e9009d51dd6da2c363d1d14779c53dd27fcb0c52" \
|
||||
"org/repo2:heads/main:e9009d51dd6da2c363d1d14779c53dd27fcb0c52"
|
||||
"org/repo2:heads/main:e9009d51dd6da2c363d1d14779c53dd27fcb0c52"
|
||||
setup_dest "org/repo1:heads/main:a5984bb887dd2fcdc2892cd906d6f004844d1142" \
|
||||
"org/repo2:heads/main:a5984bb887dd2fcdc2892cd906d6f004844d1142"
|
||||
"org/repo2:heads/main:a5984bb887dd2fcdc2892cd906d6f004844d1142"
|
||||
|
||||
push2args --repo-name "org/repo1" "pushing only one of the repos in the cache"
|
||||
assert_dest_sha "org/repo1" "heads/main" "e9009d51dd6da2c363d1d14779c53dd27fcb0c52" "updating org/repo1 passed in repo flag"
|
||||
@@ -191,9 +191,9 @@ function test_sync() {
|
||||
|
||||
# Honor --repo-name flag, ignore other cache entries
|
||||
setup_cache "org/repo1:heads/main:e9009d51dd6da2c363d1d14779c53dd27fcb0c52" \
|
||||
"org/repo2:heads/main:e9009d51dd6da2c363d1d14779c53dd27fcb0c52"
|
||||
"org/repo2:heads/main:e9009d51dd6da2c363d1d14779c53dd27fcb0c52"
|
||||
setup_dest "org/repo1:heads/main:a5984bb887dd2fcdc2892cd906d6f004844d1142" \
|
||||
"org/repo2:heads/main:a5984bb887dd2fcdc2892cd906d6f004844d1142"
|
||||
"org/repo2:heads/main:a5984bb887dd2fcdc2892cd906d6f004844d1142"
|
||||
|
||||
sync --repo-name "org/repo1" "syncing only one of the repos in the cache"
|
||||
assert_dest_sha "org/repo1" "heads/main" "e9009d51dd6da2c363d1d14779c53dd27fcb0c52" "updating org/repo1 passed in repo flag"
|
||||
@@ -208,7 +208,7 @@ function before_suite() {
|
||||
rm -rf test/tmp
|
||||
mkdir -p test/tmp/dest
|
||||
mkdir -p test/tmp/src
|
||||
) > /dev/null
|
||||
) >/dev/null
|
||||
|
||||
git daemon \
|
||||
--reuseaddr \
|
||||
@@ -216,7 +216,7 @@ function before_suite() {
|
||||
--export-all \
|
||||
--enable=receive-pack \
|
||||
--port="$SRC_GIT_DAEMON_PORT" \
|
||||
--base-path=test/tmp/src &> $SRC_GIT_DAEMON_OUTPUT &
|
||||
--base-path=test/tmp/src &>$SRC_GIT_DAEMON_OUTPUT &
|
||||
SRC_GIT_DAEMON_PID=$!
|
||||
|
||||
git daemon \
|
||||
@@ -225,12 +225,24 @@ function before_suite() {
|
||||
--export-all \
|
||||
--enable=receive-pack \
|
||||
--port="$DEST_GIT_DAEMON_PORT" \
|
||||
--base-path=test/tmp/dest &> $DEST_GIT_DAEMON_OUTPUT &
|
||||
--base-path=test/tmp/dest &>$DEST_GIT_DAEMON_OUTPUT &
|
||||
DEST_GIT_DAEMON_PID=$!
|
||||
|
||||
# wait for the git daemons to start before continuing
|
||||
|
||||
if ! check_git_daemon $SRC_GIT_DAEMON_PORT; then
|
||||
echo "timeout waiting for src git daemon to start"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! check_git_daemon $DEST_GIT_DAEMON_PORT; then
|
||||
echo "timeout waiting for dest git daemon to start"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
go run test/github.go \
|
||||
-p "$DEST_API_PORT" \
|
||||
-git-daemon-url "git://localhost:$DEST_GIT_DAEMON_PORT/" &> $DEST_API_OUTPUT &
|
||||
-git-daemon-url "git://localhost:$DEST_GIT_DAEMON_PORT/" &>$DEST_API_OUTPUT &
|
||||
DEST_API_PID=$!
|
||||
|
||||
script/build
|
||||
@@ -257,7 +269,7 @@ function setup_src() {
|
||||
|
||||
local org=$(echo $nwo | cut -d'/' -f1)
|
||||
mkdir -p test/tmp/src/$org && cp -R test/fixtures/repo.git test/tmp/src/$nwo
|
||||
echo "$sha" > "test/tmp/src/$nwo/refs/$refname"
|
||||
echo "$sha" >"test/tmp/src/$nwo/refs/$refname"
|
||||
done
|
||||
}
|
||||
|
||||
@@ -270,7 +282,7 @@ function setup_cache() {
|
||||
local refname=$(echo $r | cut -d':' -f2)
|
||||
local sha=$(echo $r | cut -d':' -f3)
|
||||
mkdir -p test/tmp/cache/$nwo && cp -R test/fixtures/repo.git test/tmp/cache/$nwo/.git
|
||||
echo "$sha" > "test/tmp/cache/$nwo/.git/refs/$refname"
|
||||
echo "$sha" >"test/tmp/cache/$nwo/.git/refs/$refname"
|
||||
done
|
||||
}
|
||||
|
||||
@@ -283,13 +295,13 @@ function setup_dest() {
|
||||
local refname=$(echo $r | cut -d':' -f2)
|
||||
local sha=$(echo $r | cut -d':' -f3)
|
||||
mkdir -p test/tmp/dest/$nwo && cp -R test/fixtures/repo.git test/tmp/dest/$nwo/.git
|
||||
echo "$sha" > "test/tmp/dest/$nwo/.git/refs/$refname"
|
||||
echo "$sha" >"test/tmp/dest/$nwo/.git/refs/$refname"
|
||||
done
|
||||
}
|
||||
|
||||
function version() {
|
||||
bin/actions-sync version \
|
||||
&> $OUTPUT ||
|
||||
&>$OUTPUT ||
|
||||
fail $1
|
||||
}
|
||||
|
||||
@@ -298,7 +310,7 @@ function pull() {
|
||||
--cache-dir "test/tmp/cache" \
|
||||
--source-url "git://localhost:$SRC_GIT_DAEMON_PORT" \
|
||||
"$1" "$2" \
|
||||
&> $OUTPUT ||
|
||||
&>$OUTPUT ||
|
||||
fail $3
|
||||
}
|
||||
|
||||
@@ -308,7 +320,7 @@ function push() {
|
||||
--disable-push-git-auth \
|
||||
--destination-token "token" \
|
||||
--destination-url "http://localhost:$DEST_API_PORT" \
|
||||
&> $OUTPUT ||
|
||||
&>$OUTPUT ||
|
||||
fail "$1"
|
||||
}
|
||||
|
||||
@@ -319,7 +331,7 @@ function push2args() {
|
||||
--destination-token "token" \
|
||||
--destination-url "http://localhost:$DEST_API_PORT" \
|
||||
"$1" "$2" \
|
||||
&> $OUTPUT ||
|
||||
&>$OUTPUT ||
|
||||
fail $3
|
||||
}
|
||||
|
||||
@@ -330,7 +342,7 @@ function push_impersonation() {
|
||||
--destination-token "token" \
|
||||
--destination-url "http://localhost:$DEST_API_PORT" \
|
||||
--actions-admin-user $1 \
|
||||
&> $OUTPUT ||
|
||||
&>$OUTPUT ||
|
||||
fail "$2"
|
||||
}
|
||||
|
||||
@@ -342,7 +354,7 @@ function sync() {
|
||||
--destination-token "token" \
|
||||
--destination-url "http://localhost:$DEST_API_PORT" \
|
||||
"$1" "$2" \
|
||||
&> $OUTPUT ||
|
||||
&>$OUTPUT ||
|
||||
fail $3
|
||||
}
|
||||
|
||||
@@ -383,6 +395,22 @@ function fail() {
|
||||
exit 1
|
||||
}
|
||||
|
||||
function check_git_daemon {
|
||||
port=$1
|
||||
for i in {1..10}; do
|
||||
process=$(ps aux | grep "git daemon" | grep $port)
|
||||
if [ -z "$process" ]; then
|
||||
echo "Waiting for git daemon to start on port $port..."
|
||||
sleep 1
|
||||
else
|
||||
echo "Git daemon is running on port $port"
|
||||
return 0
|
||||
fi
|
||||
done
|
||||
echo "Git daemon did not start within the expected time."
|
||||
return 1
|
||||
}
|
||||
|
||||
test_version
|
||||
before_suite
|
||||
test_pull
|
||||
|
||||
+4
-4
@@ -62,7 +62,7 @@ func getRepoNamesFromCacheDir(flags *CommonFlags) ([]string, error) {
|
||||
}
|
||||
|
||||
func getRepoNamesFromCSVString(csv string) ([]string, error) {
|
||||
repos := filterEmptyEntries(strings.Split(csv, ","))
|
||||
repos := filterEntries(strings.Split(csv, ","))
|
||||
if len(repos) == 0 {
|
||||
return nil, ErrEmptyRepoList
|
||||
}
|
||||
@@ -74,17 +74,17 @@ func getRepoNamesFromFile(file string) ([]string, error) {
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
repos := filterEmptyEntries(strings.Split(string(data), "\n"))
|
||||
repos := filterEntries(strings.Split(string(data), "\n"))
|
||||
if len(repos) == 0 {
|
||||
return nil, ErrEmptyRepoList
|
||||
}
|
||||
return repos, nil
|
||||
}
|
||||
|
||||
func filterEmptyEntries(names []string) []string {
|
||||
func filterEntries(names []string) []string {
|
||||
filtered := []string{}
|
||||
for _, name := range names {
|
||||
if name != "" {
|
||||
if !strings.HasPrefix(name, "#") && len(name) > 0 {
|
||||
filtered = append(filtered, name)
|
||||
}
|
||||
}
|
||||
|
||||
+3
-1
@@ -73,7 +73,9 @@ func (c *x448) GenerateECDH(rand io.Reader) (point []byte, secret []byte, err er
|
||||
func (c *x448) Encaps(rand io.Reader, point []byte) (ephemeral, sharedSecret []byte, err error) {
|
||||
var pk, ss x448lib.Key
|
||||
seed, e, err := c.generateKeyPairBytes(rand)
|
||||
|
||||
if err != nil {
|
||||
return nil, nil, err
|
||||
}
|
||||
copy(pk[:], point)
|
||||
x448lib.Shared(&ss, &seed, &pk)
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user