Skip to content

Commit

Permalink
CI Fixes (#1190)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
rob1997 and robGG1997 authored Oct 15, 2024
1 parent 1fc487d commit 847ac07
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 10 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/check_and_commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,10 @@ jobs:
name: Coverage results for ${{ matrix.testMode }}
path: ${{ steps.tests.outputs.coveragePath }}
- name: Commit and Push changes
if: ${{ github.ref_name == 'dev' }}
run: |
git diff-index --cached --quiet HEAD || git commit -m 'Auto Commit [skip ci]
- Duplicate Packages Samples
- Publish DLL Dependencies'
git push -f
git push -f origin HEAD:$branch
env:
branch: ${{ github.head_ref || github.ref_name }}
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
name: Merge Checks
name: Pull Request Checks

on:
pull_request:
branches:
- main
- dev
types:
- labeled
- ready_for_review
workflow_call:

jobs:
web3_tests:
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/pull_request_checks_dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Merge Checks

on:
pull_request:
branches:
- dev
types:
- labeled
- ready_for_review

jobs:
pull_reqest_checks:
name: Pull Request Checks
uses: ChainSafe/web3.unity/.github/workflows/pull_request_checks.yml@main
secrets: inherit
15 changes: 15 additions & 0 deletions .github/workflows/pull_request_checks_main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Merge Checks

on:
pull_request:
branches:
- main
types:
- labeled
- ready_for_review

jobs:
pull_reqest_checks:
name: Pull Request Checks
uses: ChainSafe/web3.unity/.github/workflows/pull_request_checks.yml@main
secrets: inherit
File renamed without changes.

0 comments on commit 847ac07

Please sign in to comment.