-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #161 from ipfs/web3-bot/sync
sync: update CI config files
- Loading branch information
Showing
14 changed files
with
234 additions
and
753 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,11 @@ | ||
# File managed by web3-bot. DO NOT EDIT. | ||
# See https://github.com/protocol/.github/ for details. | ||
|
||
# Automatically merge pull requests opened by web3-bot, as soon as (and only if) all tests pass. | ||
# This reduces the friction associated with updating with our workflows. | ||
|
||
on: [ pull_request ] | ||
name: Automerge | ||
on: [ pull_request ] | ||
|
||
jobs: | ||
automerge-check: | ||
if: github.event.pull_request.user.login == 'web3-bot' | ||
runs-on: ubuntu-latest | ||
outputs: | ||
status: ${{ steps.should-automerge.outputs.status }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Check if we should automerge | ||
id: should-automerge | ||
run: | | ||
for commit in $(git rev-list --first-parent origin/${{ github.event.pull_request.base.ref }}..${{ github.event.pull_request.head.sha }}); do | ||
committer=$(git show --format=$'%ce' -s $commit) | ||
echo "Committer: $committer" | ||
if [[ "$committer" != "web3-bot@users.noreply.github.com" ]]; then | ||
echo "Commit $commit wasn't committed by web3-bot, but by $committer." | ||
echo "::set-output name=status::false" | ||
exit | ||
fi | ||
done | ||
echo "::set-output name=status::true" | ||
automerge: | ||
needs: automerge-check | ||
runs-on: ubuntu-latest | ||
# The check for the user is redundant here, as this job depends on the automerge-check job, | ||
# but it prevents this job from spinning up, just to be skipped shortly after. | ||
if: github.event.pull_request.user.login == 'web3-bot' && needs.automerge-check.outputs.status == 'true' | ||
steps: | ||
- name: Wait on tests | ||
uses: lewagon/wait-on-check-action@bafe56a6863672c681c3cf671f5e10b20abf2eaa # v0.2 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
wait-interval: 10 | ||
running-workflow-name: 'automerge' # the name of this job | ||
- name: Merge PR | ||
uses: pascalgn/automerge-action@741c311a47881be9625932b0a0de1b0937aab1ae # v0.13.1 | ||
env: | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
MERGE_LABELS: "" | ||
MERGE_METHOD: "squash" | ||
MERGE_DELETE_BRANCH: true | ||
uses: protocol/.github/.github/workflows/automerge.yml@master | ||
with: | ||
job: 'automerge' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,85 @@ | ||
module github.com/ipfs/ipfs-update | ||
|
||
go 1.16 | ||
go 1.18 | ||
|
||
require ( | ||
github.com/blang/semver v3.5.1+incompatible | ||
github.com/ipfs/go-ipfs v0.12.0 | ||
github.com/blang/semver/v4 v4.0.0 | ||
github.com/ipfs/go-ipfs-api v0.3.0 | ||
github.com/ipfs/kubo v0.15.0 | ||
github.com/urfave/cli/v2 v2.3.0 | ||
github.com/whyrusleeping/stump v0.0.0-20160611222256-206f8f13aae1 | ||
golang.org/x/sys v0.0.0-20211025112917-711f33c9992c | ||
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a | ||
) | ||
|
||
require ( | ||
github.com/btcsuite/btcd/btcec/v2 v2.2.0 // indirect | ||
github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d // indirect | ||
github.com/crackcomm/go-gitignore v0.0.0-20170627025303-887ab5e44cc3 // indirect | ||
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 // indirect | ||
github.com/go-logr/logr v1.2.3 // indirect | ||
github.com/go-logr/stdr v1.2.2 // indirect | ||
github.com/gogo/protobuf v1.3.2 // indirect | ||
github.com/google/uuid v1.3.0 // indirect | ||
github.com/gopherjs/gopherjs v0.0.0-20190430165422-3e4dfb77656c // indirect | ||
github.com/hashicorp/errwrap v1.1.0 // indirect | ||
github.com/hashicorp/go-multierror v1.1.1 // indirect | ||
github.com/hashicorp/golang-lru v0.5.4 // indirect | ||
github.com/ipfs/bbloom v0.0.4 // indirect | ||
github.com/ipfs/go-block-format v0.0.3 // indirect | ||
github.com/ipfs/go-blockservice v0.4.0 // indirect | ||
github.com/ipfs/go-cid v0.2.0 // indirect | ||
github.com/ipfs/go-datastore v0.5.1 // indirect | ||
github.com/ipfs/go-ipfs-blockstore v1.2.0 // indirect | ||
github.com/ipfs/go-ipfs-ds-help v1.1.0 // indirect | ||
github.com/ipfs/go-ipfs-exchange-interface v0.2.0 // indirect | ||
github.com/ipfs/go-ipfs-files v0.1.1 // indirect | ||
github.com/ipfs/go-ipfs-util v0.0.2 // indirect | ||
github.com/ipfs/go-ipld-cbor v0.0.5 // indirect | ||
github.com/ipfs/go-ipld-format v0.4.0 // indirect | ||
github.com/ipfs/go-ipld-legacy v0.1.1 // indirect | ||
github.com/ipfs/go-log v1.0.5 // indirect | ||
github.com/ipfs/go-log/v2 v2.5.1 // indirect | ||
github.com/ipfs/go-merkledag v0.6.0 // indirect | ||
github.com/ipfs/go-metrics-interface v0.0.1 // indirect | ||
github.com/ipfs/go-verifcid v0.0.2 // indirect | ||
github.com/ipfs/interface-go-ipfs-core v0.7.0 // indirect | ||
github.com/ipld/go-codec-dagpb v1.4.1 // indirect | ||
github.com/ipld/go-ipld-prime v0.17.0 // indirect | ||
github.com/jbenet/goprocess v0.1.4 // indirect | ||
github.com/klauspost/cpuid/v2 v2.0.14 // indirect | ||
github.com/libp2p/go-buffer-pool v0.1.0 // indirect | ||
github.com/libp2p/go-flow-metrics v0.0.3 // indirect | ||
github.com/libp2p/go-libp2p-core v0.19.1 // indirect | ||
github.com/libp2p/go-libp2p-resource-manager v0.5.3 // indirect | ||
github.com/libp2p/go-openssl v0.0.7 // indirect | ||
github.com/mattn/go-isatty v0.0.14 // indirect | ||
github.com/minio/sha256-simd v1.0.0 // indirect | ||
github.com/mitchellh/go-homedir v1.1.0 // indirect | ||
github.com/mr-tron/base58 v1.2.0 // indirect | ||
github.com/multiformats/go-base32 v0.0.4 // indirect | ||
github.com/multiformats/go-base36 v0.1.0 // indirect | ||
github.com/multiformats/go-multiaddr v0.6.0 // indirect | ||
github.com/multiformats/go-multibase v0.1.1 // indirect | ||
github.com/multiformats/go-multicodec v0.5.0 // indirect | ||
github.com/multiformats/go-multihash v0.2.1 // indirect | ||
github.com/multiformats/go-varint v0.0.6 // indirect | ||
github.com/opentracing/opentracing-go v1.2.0 // indirect | ||
github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58 // indirect | ||
github.com/polydawn/refmt v0.0.0-20201211092308-30ac6d18308e // indirect | ||
github.com/russross/blackfriday/v2 v2.0.1 // indirect | ||
github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect | ||
github.com/smartystreets/assertions v1.0.0 // indirect | ||
github.com/spacemonkeygo/spacelog v0.0.0-20180420211403-2296661a0572 // indirect | ||
github.com/spaolacci/murmur3 v1.1.0 // indirect | ||
github.com/whyrusleeping/cbor-gen v0.0.0-20210219115102-f37d292932f2 // indirect | ||
github.com/whyrusleeping/tar-utils v0.0.0-20180509141711-8c6c8ba81d5c // indirect | ||
go.opentelemetry.io/otel v1.7.0 // indirect | ||
go.opentelemetry.io/otel/trace v1.7.0 // indirect | ||
go.uber.org/atomic v1.9.0 // indirect | ||
go.uber.org/multierr v1.8.0 // indirect | ||
go.uber.org/zap v1.21.0 // indirect | ||
golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e // indirect | ||
golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f // indirect | ||
google.golang.org/protobuf v1.28.0 // indirect | ||
lukechampine.com/blake3 v1.1.7 // indirect | ||
) |
Oops, something went wrong.