Skip to content

Commit

Permalink
ci: update workflow triggers to run on workflow changes and all merge…
Browse files Browse the repository at this point in the history
…s to main

Co-Authored-By: Jayant Krishnamurthy <[email protected]>
  • Loading branch information
devin-ai-integration[bot] and Jayant Krishnamurthy committed Feb 7, 2025
1 parent bf76176 commit baa6148
Show file tree
Hide file tree
Showing 22 changed files with 29 additions and 61 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci-aptos-contract.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
on:
pull_request:
paths:
- .github/workflows/ci-aptos-contract.yml
- target_chains/aptos/contracts/**
push:
branches:
- main
paths:
- target_chains/aptos/contracts/**

name: Aptos Contract

Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/ci-cosmwasm-contract.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@ name: Test CosmWasm Contract
on:
pull_request:
paths:
- .github/workflows/ci-cosmwasm-contract.yml
- target_chains/cosmwasm/**
- wormhole_attester/sdk/rust/**
push:
branches:
- main
paths:
- target_chains/cosmwasm/**
- wormhole_attester/sdk/rust/**

env:
CARGO_TERM_COLOR: always
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/ci-ethereum-contract.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
on:
pull_request:
paths:
- .github/workflows/ci-ethereum-contract.yml
- target_chains/ethereum/contracts/**
- governance/xc_admin/packages/xc_admin_common/**
push:
branches:
- main
paths:
- target_chains/ethereum/contracts/**
- governance/xc_admin/packages/xc_admin_common/**

name: Ethereum Contract

Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/ci-fortuna.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ name: Check Fortuna

on:
pull_request:
paths: [apps/fortuna/**]
paths:
- .github/workflows/ci-fortuna.yml
- apps/fortuna/**
push:
branches: [main]
paths: [apps/fortuna/**]
jobs:
test:
runs-on: ubuntu-latest
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/ci-foundry-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@ name: stylus-foundry-test
on:
pull_request:
paths:
- .github/workflows/ci-foundry-test.yml
- target_chains/ethereum/sdk/stylus/**
push:
branches:
- main
paths:
- target_chains/ethereum/sdk/stylus/**
env:
FOUNDRY_PROFILE: ci
jobs:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/ci-fuel-contract.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@ name: Test Fuel Contract
on:
pull_request:
paths:
- .github/workflows/ci-fuel-contract.yml
- target_chains/fuel/**
push:
branches:
- main
paths:
- target_chains/fuel/**

env:
CARGO_TERM_COLOR: always
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/ci-hermes-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ name: Check Hermes Server

on:
pull_request:
paths: [apps/hermes/server/**]
paths:
- .github/workflows/ci-hermes-server.yml
- apps/hermes/server/**
push:
branches: [main]
paths: [apps/hermes/server/**]
jobs:
test:
runs-on: ubuntu-latest
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/ci-lazer-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@ on:
push:
branches:
- main
paths:
- lazer/**
pull_request:
paths:
- .github/workflows/ci-lazer-rust.yml
- lazer/**

jobs:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/ci-lazer-sdk-evm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@ on:
push:
branches:
- main
paths:
- lazer/contracts/evm/**
pull_request:
paths:
- .github/workflows/ci-lazer-sdk-evm.yml
- lazer/contracts/evm/**

jobs:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/ci-lazer-solana-contract.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@ on:
push:
branches:
- main
paths:
- lazer/**
pull_request:
paths:
- .github/workflows/ci-lazer-solana-contract.yml
- lazer/**

jobs:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/ci-message-buffer-idl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@ name: Message Buffer IDL Check
on:
pull_request:
paths:
- .github/workflows/ci-message-buffer-idl.yml
- pythnet/message_buffer/**
push:
branches:
- main
paths:
- pythnet/message_buffer/**
jobs:
abi-check:
name: Check Message Buffer IDL files are up to date
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/ci-near-contract.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ on:
push:
branches:
- main
paths:
- target_chains/near/**
- wormhole_attester/sdk/rust/**
- .github/workflows/ci-near-contract.yml

env:
CARGO_TERM_COLOR: always
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/ci-remote-executor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ name: Check Remote Executor

on:
pull_request:
paths: [governance/remote_executor/**]
paths:
- .github/workflows/ci-remote-executor.yml
- governance/remote_executor/**
push:
branches: [main]
paths: [governance/remote_executor/**]
jobs:
test:
runs-on: ubuntu-latest
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/ci-solana-contract.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@ name: Test Solana Contract
on:
pull_request:
paths:
- .github/workflows/ci-solana-contract.yml
- target_chains/solana/**
- pythnet/pythnet_sdk/**
push:
branches:
- main
paths:
- target_chains/solana/**
- pythnet/pythnet_sdk/**

env:
CARGO_TERM_COLOR: always
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/ci-starknet-contract.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@ name: Starknet contract
on:
pull_request:
paths:
- .github/workflows/ci-starknet-contract.yml
- target_chains/starknet/contracts/**
push:
branches:
- main
paths:
- target_chains/starknet/contracts/**
jobs:
check:
name: Starknet Foundry tests
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/ci-starknet-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ name: Check Starknet Tools

on:
pull_request:
paths: [target_chains/starknet/tools/**]
paths:
- .github/workflows/ci-starknet-tools.yml
- target_chains/starknet/tools/**
push:
branches: [main]
paths: [target_chains/starknet/tools/**]
jobs:
test:
runs-on: ubuntu-latest
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/ci-stylus-check-wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@ name: stylus-check-wasm
on:
pull_request:
paths:
- .github/workflows/ci-stylus-check-wasm.yml
- target_chains/ethereum/sdk/stylus/**
push:
branches:
- main
paths:
- target_chains/ethereum/sdk/stylus/**
permissions:
contents: read
concurrency:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/ci-stylus-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@ permissions:
on:
pull_request:
paths:
- .github/workflows/ci-stylus-check.yml
- target_chains/ethereum/sdk/stylus/**
push:
branches:
- main
paths:
- target_chains/ethereum/sdk/stylus/**
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/ci-stylus-nostd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@ permissions:
on:
pull_request:
paths:
- .github/workflows/ci-stylus-nostd.yml
- target_chains/ethereum/sdk/stylus/**
push:
branches:
- main
paths:
- target_chains/ethereum/sdk/stylus/**
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/ci-sui-contract.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
on:
pull_request:
paths:
- .github/workflows/ci-sui-contract.yml
- target_chains/sui/contracts/**
push:
branches:
- main
paths:
- target_chains/sui/contracts/**

name: Sui Contracts

Expand Down
9 changes: 1 addition & 8 deletions .github/workflows/ci-turbo-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Turbo build
on:
pull_request:
paths:
- .github/workflows/ci-turbo-build.yml
- "**.tsx?"
- "**.jsx?"
- "**.json"
Expand All @@ -11,14 +12,6 @@ on:
- "**/tsconfig.json"
push:
branches: [main]
paths:
- "**.tsx?"
- "**.jsx?"
- "**.json"
- "**.sol"
- "**/package.json"
- "**/package-lock.json"
- "**/tsconfig.json"
jobs:
build:
runs-on: ubuntu-latest
Expand Down
9 changes: 1 addition & 8 deletions .github/workflows/ci-turbo-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Turbo test
on:
pull_request:
paths:
- .github/workflows/ci-turbo-test.yml
- "**.tsx?"
- "**.jsx?"
- "**.json"
Expand All @@ -11,14 +12,6 @@ on:
- "**/tsconfig.json"
push:
branches: [main]
paths:
- "**.tsx?"
- "**.jsx?"
- "**.json"
- "**.sol"
- "**/package.json"
- "**/package-lock.json"
- "**/tsconfig.json"
jobs:
test:
runs-on: ubuntu-latest
Expand Down

0 comments on commit baa6148

Please sign in to comment.