1
0
Fork 0
forked from lthn/blockchain

Refactor CI workflow job names for clarity and update pull request event types

This commit is contained in:
snider 2025-10-06 22:33:23 +01:00
parent 10e55f6d29
commit 6c2437c2e4
3 changed files with 8 additions and 38 deletions

View file

@ -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' }}

View file

@ -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

View file

@ -9,7 +9,6 @@ on:
branches:
- 'dev'
- 'main'
- 'dev-*'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}