Skip to content

Commit

Permalink
Merge pull request #403 from LerianStudio/fix/added_if_prerelease
Browse files Browse the repository at this point in the history
fix: added if pre release bump formule brew
  • Loading branch information
maxwelbm authored Dec 18, 2024
2 parents 8ad196e + ad07700 commit cdd2aed
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/brew-bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ jobs:
bump_formula:
runs-on: ubuntu-24.04
steps:
- if: github.event.pull_request.head.ref == 'main'
- name: Update Homebrew Formula
if: ${{ !github.event.release.prerelease }}
uses: dawidd6/action-homebrew-bump-formula@v4
with:
token: ${{ secrets.RELEASE_GITHUB_TOKEN }}
formula: mdz
formula: mdz
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions:

jobs:
build_and_publish:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
env:
APP_NAME: midaz-ledger
WORKING_DIR: components/ledger
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

jobs:
check-branch:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/create-github-app-token@v1
id: app-token
Expand All @@ -33,7 +33,7 @@ jobs:
git_commit_gpgsign: true

- name: Check if PR is from develop or hotfix
if: github.event.pull_request.head.ref != 'develop' && github.event.pull_request.head.ref != 'hotfix'
if: github.event.pull_request.head.ref != 'develop' && startsWith(github.event.pull_request.head.ref, 'hotfix/') == false
env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
GIT_AUTHOR_NAME: ${{ secrets.LERIAN_CI_CD_USER_NAME }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/go-combined-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ permissions:
jobs:
CodeQL:
name: Run CodeQL to Midaz
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
timeout-minutes: 360
strategy:
fail-fast: false
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:

GoLangCI-Lint:
name: Run GoLangCI-Lint to Midaz
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/create-github-app-token@v1
id: app-token
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/release-notification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:

jobs:
github-releases-to-discord:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/create-github-app-token@v1
id: app-token
Expand All @@ -17,7 +17,6 @@ jobs:

- name: Github Releases To Discord
uses: SethCohen/github-releases-to-discord@v1.13.1
if: '!github.event.prerelease'
with:
webhook_url: ${{ secrets.DISCORD_WEBHOOK_URL }}
color: "2105893"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ permissions:
jobs:
integration_tests:
name: Integration test
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
env:
WORKING_DIR: components/ledger
steps:
Expand All @@ -37,7 +37,7 @@ jobs:
run: make test

publish_release:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: integration_tests
environment:
name: create_release
Expand Down
2 changes: 1 addition & 1 deletion components/audit/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# ENV_NAME=production

# APP
VERSION=v1.31.1
VERSION=v1.33.0
SERVER_PORT=3005
SERVER_ADDRESS=:${SERVER_PORT}

Expand Down
2 changes: 1 addition & 1 deletion components/ledger/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# ENV_NAME=production

# APP
VERSION=v1.31.1
VERSION=v1.33.0
SERVER_PORT=3000
SERVER_ADDRESS=:${SERVER_PORT}

Expand Down
2 changes: 1 addition & 1 deletion components/mdz/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ CLIENT_ID=9670e0ca55a29a466d31
CLIENT_SECRET=dd03f916cacf4a98c6a413d9c38ba102dce436a9
URL_API_AUTH=http://127.0.0.1:8080
URL_API_LEDGER=http://127.0.0.1:3000
VERSION=v1.31.1
VERSION=v1.33.0
2 changes: 1 addition & 1 deletion components/transaction/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# ENV_NAME=production

# APP
VERSION=v1.31.1
VERSION=v1.33.0
APP_CONTEXT=/transaction/v1
SERVER_PORT=3002
SERVER_ADDRESS=:${SERVER_PORT}
Expand Down

0 comments on commit cdd2aed

Please sign in to comment.