Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
161 changes: 128 additions & 33 deletions .github/workflows/package-bump.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,35 +18,45 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Package bump layer
uses: InjectiveLabs/github-fe/actions/package-bump@master
- name: Create GitHub App token
id: app-token
uses: actions/create-github-app-token@v1
with:
gh_token: ${{ secrets.LAYER_GH_TOKEN }}
repository_url: injectiveLabs/injective-ui
repository_branch: master
app-id: ${{ vars.RELEASE_APP_ID }}
private-key: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}
owner: InjectiveLabs
Comment thread
coderabbitai[bot] marked this conversation as resolved.
repositories: injective-ui
Comment thread
coderabbitai[bot] marked this conversation as resolved.
permission-contents: write
permission-pull-requests: write

package-bump-layer-tc:
name: 'Package bump layer TC'
runs-on: ubuntu-latest

steps:
- name: Package bump layer TC
- name: Package bump layer
uses: InjectiveLabs/github-fe/actions/package-bump@master
with:
gh_token: ${{ secrets.LAYER_GH_TOKEN }}
gh_token: ${{ steps.app-token.outputs.token }}
repository_url: injectiveLabs/injective-ui
repository_branch: feat/tc-layer
repository_branch: master

package-bump-hub:
name: 'Package bump hub'
runs-on: ubuntu-latest
needs: package-bump-layer

steps:
- name: Create GitHub App token
id: app-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ vars.RELEASE_APP_ID }}
private-key: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}
owner: InjectiveLabs
repositories: injective-hub
permission-contents: write
permission-pull-requests: write

- name: Package bump Hub
uses: InjectiveLabs/github-fe/actions/package-bump@master
with:
gh_token: ${{ secrets.HUB_GH_TOKEN }}
gh_token: ${{ steps.app-token.outputs.token }}
repository_url: injectiveLabs/injective-hub
repository_branch: dev

Expand All @@ -56,10 +66,21 @@ jobs:
needs: package-bump-layer

steps:
- name: Create GitHub App token
id: app-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ vars.RELEASE_APP_ID }}
private-key: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}
owner: InjectiveLabs
repositories: injective-helix
permission-contents: write
permission-pull-requests: write

- name: Package bump Helix
uses: InjectiveLabs/github-fe/actions/package-bump@master
with:
gh_token: ${{ secrets.HELIX_GH_TOKEN }}
gh_token: ${{ steps.app-token.outputs.token }}
repository_url: injectiveLabs/injective-helix
repository_branch: dev

Expand All @@ -69,10 +90,21 @@ jobs:
needs: package-bump-layer

steps:
- name: Create GitHub App token
id: app-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ vars.RELEASE_APP_ID }}
private-key: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}
owner: InjectiveLabs
repositories: injective-explorer
permission-contents: write
permission-pull-requests: write

- name: Package bump Explorer
uses: InjectiveLabs/github-fe/actions/package-bump@master
with:
gh_token: ${{ secrets.EXPLORER_GH_TOKEN }}
gh_token: ${{ steps.app-token.outputs.token }}
repository_url: injectiveLabs/injective-explorer
repository_branch: dev

Expand All @@ -82,36 +114,66 @@ jobs:
needs: package-bump-layer

steps:
- name: Create GitHub App token
id: app-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ vars.RELEASE_APP_ID }}
private-key: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}
owner: InjectiveLabs
repositories: injective-trading-ui
permission-contents: write
permission-pull-requests: write

- name: Package bump Trading UI
uses: InjectiveLabs/github-fe/actions/package-bump@master
with:
gh_token: ${{ secrets.TRADING_UI_GH_TOKEN }}
gh_token: ${{ steps.app-token.outputs.token }}
repository_url: injectiveLabs/injective-trading-ui
repository_branch: dev

package-bump-mito:
name: 'Package bump Mito'
runs-on: ubuntu-latest
needs: package-bump-layer

steps:
- name: Package bump Mito
uses: InjectiveLabs/github-fe/actions/package-bump@master
with:
gh_token: ${{ secrets.MITO_GH_TOKEN }}
repository_url: mitoFinance/mito-ui
repository_branch: dev
# package-bump-mito:
# name: 'Package bump Mito'
# runs-on: ubuntu-latest
# needs: package-bump-layer

# steps:
# - name: Create GitHub App token
# id: app-token
# uses: actions/create-github-app-token@v1
# with:
# app-id: ${{ vars.RELEASE_APP_ID }}
# private-key: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}
# owner: mitoFinance

# - name: Package bump Mito
# uses: InjectiveLabs/github-fe/actions/package-bump@master
# with:
# gh_token: ${{ steps.app-token.outputs.token }}
# repository_url: mitoFinance/mito-ui
# repository_branch: dev

package-bump-ui-api:
name: 'Package bump UI API'
runs-on: ubuntu-latest
needs: package-bump-layer

steps:
- name: Create GitHub App token
id: app-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ vars.RELEASE_APP_ID }}
private-key: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}
owner: InjectiveLabs
repositories: injective-ui-api
permission-contents: write
permission-pull-requests: write

- name: Package bump UI API
uses: InjectiveLabs/github-fe/actions/package-bump@master
with:
gh_token: ${{ secrets.UI_API_GH_TOKEN }}
gh_token: ${{ steps.app-token.outputs.token }}
repository_url: injectiveLabs/injective-ui-api
repository_branch: staging

Expand All @@ -121,10 +183,21 @@ jobs:
needs: package-bump-layer

steps:
- name: Create GitHub App token
id: app-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ vars.RELEASE_APP_ID }}
private-key: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}
owner: InjectiveLabs
repositories: injective-admin-ui
permission-contents: write
permission-pull-requests: write

- name: Package bump Admin UI
uses: InjectiveLabs/github-fe/actions/package-bump@master
with:
gh_token: ${{ secrets.ADMIN_UI_GH_TOKEN }}
gh_token: ${{ steps.app-token.outputs.token }}
repository_url: InjectiveLabs/injective-admin-ui
repository_branch: dev

Expand All @@ -134,10 +207,21 @@ jobs:
needs: package-bump-layer

steps:
- name: Create GitHub App token
id: app-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ vars.RELEASE_APP_ID }}
private-key: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}
owner: InjectiveLabs
repositories: injective-do-ui
permission-contents: write
permission-pull-requests: write

- name: Package bump DO UI
uses: InjectiveLabs/github-fe/actions/package-bump@master
with:
gh_token: ${{ secrets.DO_UI_GH_TOKEN }}
gh_token: ${{ steps.app-token.outputs.token }}
repository_url: injectiveLabs/injective-do-ui
repository_branch: master

Expand All @@ -147,9 +231,20 @@ jobs:
needs: package-bump-layer-tc

steps:
- name: Create GitHub App token
id: app-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ vars.RELEASE_APP_ID }}
private-key: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}
owner: InjectiveLabs
repositories: injective-true-current
permission-contents: write
permission-pull-requests: write

- name: Package bump True Current
uses: InjectiveLabs/github-fe/actions/package-bump@master
with:
gh_token: ${{ secrets.TRUE_CURRENT_GH_TOKEN }}
gh_token: ${{ steps.app-token.outputs.token }}
repository_url: injectiveLabs/injective-true-current
repository_branch: dev
Loading