Skip to content

Commit

Permalink
chore: use injective-ui instead of helix
Browse files Browse the repository at this point in the history
  • Loading branch information
Kishan-Dhakan committed Jun 27, 2024
1 parent bcfcc99 commit 7be7012
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/helix.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Update shared packages on Helix
name: Update shared packages on Injective-ui

on:
push:
Expand All @@ -11,11 +11,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout injective-helix repository
- name: Checkout injective-ui repository
uses: actions/checkout@v2
with:
repository: InjectiveLabs/injective-helix
path: injective-helix
repository: InjectiveLabs/injective-ui
path: injective-ui
token: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Node.js
Expand All @@ -25,33 +25,34 @@ jobs:

- name: Install dependencies
run: |
cd injective-helix
cd injective-ui
cd layer
yarn install
- name: Create branch
run: |
cd injective-helix
cd injective-ui
git checkout -b update-from-shared-packages
- name: Commit changes
run: |
cd injective-helix
cd injective-ui
git add .
git commit -m "chore: update from shared-packages"
- name: Push changes
run: |
cd injective-helix
cd injective-ui
git push origin update-from-shared-packages
- name: Create Pull Request
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh auth login --with-token <<< "${{ secrets.GITHUB_TOKEN }}"
gh pr create --repo InjectiveLabs/injective-helix --head update-from-shared-packages --base dev --title "Package bump" --body "This is an automated pull request created by GitHub Actions."
gh pr create --repo InjectiveLabs/injective-ui --head update-from-shared-packages --base dev --title "Package bump" --body "This is an automated pull request created by GitHub Actions."
- name: Cleanup
run: |
cd injective-helix
cd injective-ui
git branch -D update-from-shared-packages

0 comments on commit 7be7012

Please sign in to comment.