diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 74eaf21d..52b9d560 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,7 +4,7 @@ on: pull_request: push: branches: - - main + - umee - release/** # This workflow makes amd64 and arm64 binaries for macOS and Linux. diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 5840db3b..7dd08dff 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -4,11 +4,11 @@ on: pull_request: paths: ["**.go"] branches: - - main + - umee - release/** push: branches: - - main + - umee - release/** paths: ["**.go"] diff --git a/.github/workflows/linkchecker.yml b/.github/workflows/linkchecker.yml index 4639eaa7..9d906d20 100644 --- a/.github/workflows/linkchecker.yml +++ b/.github/workflows/linkchecker.yml @@ -4,7 +4,7 @@ on: paths: ["**.md"] push: branches: - - main + - umee - release/** paths: ["**.md"] @@ -16,5 +16,5 @@ jobs: - uses: gaurav-nelson/github-action-markdown-link-check@v1 with: check-modified-files-only: "yes" - base-branch: main + base-branch: umee config-file: ".github/workflows/linkchecker.config.json" diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c83088ea..4b47a01c 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -3,7 +3,7 @@ on: pull_request: push: branches: - - main + - umee - release/** jobs: @@ -28,7 +28,7 @@ jobs: config: .revive.toml exclude: "*.pb.go;*.pb.gw.go;*.pulsar.go;swagger/..." path: "./..." - - name: golangci-lint main + - name: golangci-lint umee uses: golangci/golangci-lint-action@v3 if: env.GIT_DIFF with: diff --git a/.github/workflows/price-feeder-release.yml b/.github/workflows/price-feeder-release.yml index df50a36b..c3134b0c 100644 --- a/.github/workflows/price-feeder-release.yml +++ b/.github/workflows/price-feeder-release.yml @@ -1,11 +1,11 @@ # This workflow helps with creating docker images. -# This job will only be triggered when a tag (vX.X.x) is pushed +# This job will only be triggered when a tag (umee/vX.X.x) is pushed name: Release price-feeder on: push: tags: - - "v*.*.*" + - "umee/v*.*.*" jobs: goreleaser: @@ -19,7 +19,7 @@ jobs: go-version: 1.19 cache: true cache-dependency-path: go.sum - # Parse 'v*.*.*' semantic version from 'v*.*.*' and save to + # Parse 'umee/v*.*.*' semantic version from 'umee/v*.*.*' and save to # the $GITHUB_ENV environment variable. - name: Set env run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a491ff43..3033c24d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -3,7 +3,7 @@ on: pull_request: push: branches: - - main + - umee - release/** jobs: diff --git a/.goreleaser.yml b/.goreleaser.yml index a4573d9f..7f8d4e7a 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -17,7 +17,7 @@ builds: - -tags=badgerdb ledger netgo - -trimpath ldflags: - - -s -w -X main.commit={{.Commit}} -X main.date={{ .CommitDate }} -X github.com/cosmos/cosmos-sdk/version.AppName=price-feeder -X github.com/cosmos/cosmos-sdk/version.Version={{ .Version }} -X github.com/cosmos/cosmos-sdk/version.Commit={{ .Commit }} + - -s -w -X umee.commit={{.Commit}} -X umee.date={{ .CommitDate }} -X github.com/cosmos/cosmos-sdk/version.AppName=price-feeder -X github.com/cosmos/cosmos-sdk/version.Version={{ .Version }} -X github.com/cosmos/cosmos-sdk/version.Commit={{ .Commit }} goos: - linux goarch: diff --git a/.mergify.yml b/.mergify.yml index af4e16dd..83b050ae 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -7,7 +7,7 @@ pull_request_rules: - name: Automatic merge on approval conditions: - "#approved-reviews-by>=1" - - base=main + - base=umee - label=A:Automerge actions: queue: