File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 4747 # Clone the repo with our PAT and delete old files
4848 - name : Clone spec tests repo
4949 run : |
50- git clone https://x-access-token:${{ secrets.CONSENSUS_SPEC_TESTS_PAT }}@github.com/ethereum/consensus-spec-tests.git --depth=1
50+ rm -rf consensus-spec-tests
51+ git clone https://x-access-token:${{ secrets.CONSENSUS_SPEC_TESTS_PAT }}@github.com/ethereum/consensus-spec-tests.git --branch=master --single-branch --depth=1 --no-tags
5152 cd consensus-spec-tests
5253 rm -rf configs presets tests
5354
@@ -79,10 +80,10 @@ jobs:
7980 cd consensus-spec-tests
8081 git config user.name "github-actions"
8182 git config user.email "[email protected] " 82- git add .
83+ git add -A
8384 if ! git diff --cached --quiet; then
8485 git commit -m "release ${{ github.ref_name }} tests"
85- git push
86+ git push origin HEAD:refs/heads/master
8687 else
8788 echo "No changes to commit"
8889 fi
You can’t perform that action at this time.
0 commit comments