git.delta.rocks / unique-network / refs/commits / 4c2d15438fb2

difftreelog

change trugger for xcm-tests

Konstantin Astakhov2022-09-01parent: #2c67978.patch.diff
in: master

2 files changed

modified.github/workflows/xcm-testnet-build.ymldiffbeforeafterboth
144 - name: Build the stack144 - name: Build the stack
145 run: cd .docker/ && docker build --no-cache --file ./Dockerfile-xcm.${{ matrix.network }}.yml --tag uniquenetwork/xcm-${{ matrix.network }}-testnet-local:nightly-${{ steps.branchname.outputs.value }}-${{ github.sha }} --tag uniquenetwork/xcm-${{ matrix.network }}-testnet-local:latest .145 run: cd .docker/ && docker build --no-cache --file ./Dockerfile-xcm.${{ matrix.network }}.yml --tag uniquenetwork/xcm-${{ matrix.network }}-testnet-local:nightly-${{ steps.branchname.outputs.value }}-${{ github.sha }} --tag uniquenetwork/xcm-${{ matrix.network }}-testnet-local:latest .
146146
147 - name: Push docker version image 147 - name: Push docker image version
148 run: docker push uniquenetwork/xcm-${{ matrix.network }}-testnet-local:nightly-${{ steps.branchname.outputs.value }}-${{ github.sha }}148 run: docker push uniquenetwork/xcm-${{ matrix.network }}-testnet-local:nightly-${{ steps.branchname.outputs.value }}-${{ github.sha }}
149149
150 - name: Push docker image latest150 - name: Push docker image latest
151 run: docker push uniquenetwork/xcm-${{ matrix.network }}-testnet-local:latest151 run: docker push uniquenetwork/xcm-${{ matrix.network }}-testnet-local:latest
152
153 - name: Clean Workspace
154 if: always()
155 uses: AutoModality/action-clean@v1.1.0
152156
153 - name: Remove builder cache157 - name: Remove builder cache
154 if: always() # run this step always158 if: always() # run this step always
modified.github/workflows/xcm-tests.ymldiffbeforeafterboth
--- a/.github/workflows/xcm-tests.yml
+++ b/.github/workflows/xcm-tests.yml
@@ -7,14 +7,14 @@
     workflows: ["xcm-testnet-build"]
     types: [requested]  
  # Triggers the workflow on push or pull request events but only for the master branch
- # pull_request:
- #   branches:
- #     - master
- #   types:
- #     - opened
- #     - reopened
- #     - synchronize   #commit(s) pushed to the pull request
- #     - ready_for_review
+  pull_request:
+    branches:
+      - master
+    types:
+      - opened
+      - reopened
+      - synchronize   #commit(s) pushed to the pull request
+      - ready_for_review
 
   # Allows you to run this workflow manually from the Actions tab
   workflow_dispatch:
@@ -178,11 +178,12 @@
         if: always()                   # run this step always
         run: docker-compose -f ".docker/docker-compose.xcm-tests.${{ matrix.network }}.yml" down
 
+      - name: Clean Workspace
+        if: always()
+        uses: AutoModality/action-clean@v1.1.0
+
       - name: Remove builder cache
         if: always()                   # run this step always
         run: |
           docker system prune -a -f
 
-      - name: Clean Workspace
-        if: always()
-        uses: AutoModality/action-clean@v1.1.0