Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
openzeppelin-contracts-upgradeable
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
俞永鹏
openzeppelin-contracts-upgradeable
Commits
79a4d7aa
Commit
79a4d7aa
authored
Nov 11, 2020
by
Francisco Giordano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor github actions that use git
parent
df8df157
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
5 deletions
+4
-5
merge-upstream.yml
.github/workflows/merge-upstream.yml
+3
-1
transpile.yml
.github/workflows/transpile.yml
+1
-0
merge-upstream.sh
scripts/upgrade-safe/merge-upstream.sh
+0
-3
transpile-branch.sh
scripts/upgrade-safe/transpile-branch.sh
+0
-1
No files found.
.github/workflows/merge-upstream.yml
View file @
79a4d7aa
...
...
@@ -17,4 +17,6 @@ jobs:
ref
:
upstream-patched
fetch-depth
:
0
ssh-key
:
${{secrets.DEPLOY_KEY}}
-
run
:
bash -x scripts/upgrade-safe/merge-upstream.sh
-
run
:
bash scripts/upgrade-safe/git-user-config.sh
-
run
:
bash scripts/upgrade-safe/merge-upstream.sh
-
run
:
git push
.github/workflows/transpile.yml
View file @
79a4d7aa
...
...
@@ -28,5 +28,6 @@ jobs:
restore-keys
:
npm-v2-
-
run
:
npm ci
if
:
steps.cache.outputs.cache-hit != 'true'
-
run
:
bash scripts/upgrade-safe/git-user-config.sh
-
run
:
bash scripts/upgrade-safe/transpile-branch.sh master origin/master
-
run
:
git push origin master
scripts/upgrade-safe/merge-upstream.sh
View file @
79a4d7aa
...
...
@@ -2,8 +2,5 @@
set
-euo
pipefail
-x
bash scripts/upgrade-safe/git-user-config.sh
git fetch
'https://github.com/OpenZeppelin/openzeppelin-contracts.git'
git merge FETCH_HEAD
-m
'Merge upstream openzeppelin-contracts into upstream-patched'
git push
scripts/upgrade-safe/transpile-branch.sh
View file @
79a4d7aa
...
...
@@ -13,7 +13,6 @@ branch="$1"
base
=
"
${
2
:-}
"
bash scripts/upgrade-safe/transpile.sh
bash scripts/upgrade-safe/git-user-config.sh
commit
=
"
$(
git rev-parse
--short
HEAD
)
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment