diff --git a/.github/workflows/_on-pr-fast.yml b/.github/workflows/_on-pr-fast.yml deleted file mode 100644 index 8576cecd..00000000 --- a/.github/workflows/_on-pr-fast.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: PR Fast -permissions: - contents: write -on: - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - pull_request: - types: - - opened - - synchronize - - reopened - branches: - - dev - - main - - dev-* - paths-ignore: - - '**.md' - -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - -jobs: - build-macos-arm64: - name: Compile - uses: ./.github/workflows/build-windows-intel.yml -# uses: ./.github/workflows/build-macos-arm64.yml - with: - chain-network: ${{ github.ref_name == 'main' && 'mainnet' || 'testnet' }} diff --git a/.github/workflows/_on-pr.yml b/.github/workflows/_on-pr.yml index dd05b7cb..51a4bced 100644 --- a/.github/workflows/_on-pr.yml +++ b/.github/workflows/_on-pr.yml @@ -7,8 +7,9 @@ on: pull_request_review: pull_request: types: - - ready_for_review - - review_requested + - opened + - synchronize + - reopened - closed concurrency: @@ -39,7 +40,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} build-linux-intel: - name: Chain + name: Linux if: ${{!github.event.pull_request.draft}} uses: ./.github/workflows/build-linux-intel.yml secrets: inherit @@ -47,7 +48,7 @@ jobs: chain-network: ${{ github.ref_name == 'main' && 'mainnet' || 'testnet' }} build-linux-arm: - name: Chain + name: Linux if: ${{!github.event.pull_request.draft}} uses: ./.github/workflows/build-linux-arm64.yml secrets: inherit @@ -55,7 +56,7 @@ jobs: chain-network: ${{ github.ref_name == 'main' && 'mainnet' || 'testnet' }} build-windows-intel: - name: Chain + name: Windows if: ${{!github.event.pull_request.draft}} uses: ./.github/workflows/build-windows-intel.yml secrets: inherit @@ -63,15 +64,14 @@ jobs: chain-network: ${{ github.ref_name == 'main' && 'mainnet' || 'testnet' }} build-macos-arm64: - name: Chain - if: ${{!github.event.pull_request.draft}} + name: MacOS uses: ./.github/workflows/build-macos-arm64.yml secrets: inherit with: chain-network: ${{ github.ref_name == 'main' && 'mainnet' || 'testnet' }} build-macos-intel: - name: Chain + name: MacOS if: ${{!github.event.pull_request.draft}} uses: ./.github/workflows/build-macos-intel.yml secrets: inherit diff --git a/.github/workflows/_on-push.yml b/.github/workflows/_on-push.yml index bc6717ca..747735e5 100644 --- a/.github/workflows/_on-push.yml +++ b/.github/workflows/_on-push.yml @@ -9,7 +9,6 @@ on: branches: - 'dev' - 'main' - - 'dev-*' concurrency: group: ${{ github.workflow }}-${{ github.ref }}