Skip to content

Commit

Permalink
Merge pull request #775 from scroll-tech/sepolia
Browse files Browse the repository at this point in the history
Co-authored-by: Yvaine <[email protected]>
Co-authored-by: zzq0826 <[email protected]>
fix: ci merge prod back to dev then bump version (#774)
  • Loading branch information
3 people authored Nov 7, 2023
2 parents b50864f + c830130 commit c15ca27
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 13 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/bump_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,12 @@
name: "Bump Version on sepolia"

on:
push:
branches:
- mainnet
workflow_dispatch:

jobs:
bump-version:
if: |
!startsWith(github.event.head_commit.message, 'ci: version bump to ') &&
!endsWith(github.event.head_commit.message, ' [bot]')
!startsWith(github.event.head_commit.message, 'ci: version bump to ')
name: "Bump version on production"
permissions:
contents: write
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/merge_prod_back_to_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@ name: "Merge Prod Back to Dev"
on:
push:
branches:
- sepolia
- mainnet

jobs:
merge-back:
if: |
startsWith(github.event.head_commit.message, 'ci: version bump to ') &&
endsWith(github.event.head_commit.message, ' [bot]')
!endsWith(github.event.head_commit.message, ' [bot]')
name: "Merge prod back to dev"
permissions:
contents: write
Expand Down Expand Up @@ -40,3 +39,8 @@ jobs:
title: "Auto-merge prod back to dev [bot]"
labels: "bot/merge-prod-back-to-dev, automerge, automerge-merge"
body: ""
- name: Trigger Version Bump Wrokflow
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
event-type: bump-version
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "scroll.io",
"version": "5.0.31",
"version": "5.0.32",
"private": false,
"license": "MIT",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/new-bridge/TxHistoryDialog/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const useStyles = makeStyles()(theme => ({
paper: {
boxShadow: "unset",
width: "100%",
maxWidth: "75rem",
maxWidth: "78rem",
[theme.breakpoints.down("sm")]: {
maxWidth: "unset",
},
Expand Down
4 changes: 1 addition & 3 deletions src/pages/new-bridge/components/TxTable/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@ const useStyles = makeStyles()(theme => {
},
tableMinHeight: {
minHeight: "20rem",
[theme.breakpoints.down("sm")]: {
overflowX: "auto",
},
overflowX: "auto",
},
tableTitle: {
marginTop: "2.8rem",
Expand Down

0 comments on commit c15ca27

Please sign in to comment.