Skip to content

Commit ce44c01

Browse files
rob1997robGG1997
andauthored
CI Fixes (#1190)
* Revert "automated duplicating imported samples modifications (#595)" This reverts commit a555894. * made main package testable, revert due to a mistake * initial test * typo fix * inherit secrets * test branch updated * possible push fix * branch name fix * branch name reverted --------- Co-authored-by: robGG1997 <robel@chainsafe.io>
1 parent e47b5b2 commit ce44c01

5 files changed

Lines changed: 35 additions & 10 deletions

File tree

.github/workflows/check_and_commit.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,10 @@ jobs:
127127
name: Coverage results for ${{ matrix.testMode }}
128128
path: ${{ steps.tests.outputs.coveragePath }}
129129
- name: Commit and Push changes
130-
if: ${{ github.ref_name == 'dev' }}
131130
run: |
132131
git diff-index --cached --quiet HEAD || git commit -m 'Auto Commit [skip ci]
133132
- Duplicate Packages Samples
134133
- Publish DLL Dependencies'
135-
git push -f
134+
git push -f origin HEAD:$branch
135+
env:
136+
branch: ${{ github.head_ref || github.ref_name }}

.github/workflows/pre_pull_request_checks.yml renamed to .github/workflows/pull_request_checks.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
1-
name: Merge Checks
1+
name: Pull Request Checks
22

33
on:
4-
pull_request:
5-
branches:
6-
- main
7-
- dev
8-
types:
9-
- labeled
10-
- ready_for_review
4+
workflow_call:
115

126
jobs:
137
web3_tests:
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Merge Checks
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- dev
7+
types:
8+
- labeled
9+
- ready_for_review
10+
11+
jobs:
12+
pull_reqest_checks:
13+
name: Pull Request Checks
14+
uses: ChainSafe/web3.unity/.github/workflows/pull_request_checks.yml@main
15+
secrets: inherit
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Merge Checks
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
types:
8+
- labeled
9+
- ready_for_review
10+
11+
jobs:
12+
pull_reqest_checks:
13+
name: Pull Request Checks
14+
uses: ChainSafe/web3.unity/.github/workflows/pull_request_checks.yml@main
15+
secrets: inherit
File renamed without changes.

0 commit comments

Comments
 (0)