mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 17:47:54 +08:00
ci: remove label trigger for CI runs (#334)
This commit is contained in:
10
.github/workflows/CI.yml
vendored
10
.github/workflows/CI.yml
vendored
@ -12,12 +12,6 @@ on:
|
|||||||
# - "Cargo.toml"
|
# - "Cargo.toml"
|
||||||
|
|
||||||
pull_request:
|
pull_request:
|
||||||
types:
|
|
||||||
- "labeled"
|
|
||||||
- "opened"
|
|
||||||
- "ready_for_review"
|
|
||||||
- "reopened"
|
|
||||||
- "synchronize"
|
|
||||||
# paths:
|
# paths:
|
||||||
# - ".github/workflows/**"
|
# - ".github/workflows/**"
|
||||||
# - "crates/**"
|
# - "crates/**"
|
||||||
@ -53,7 +47,6 @@ env:
|
|||||||
jobs:
|
jobs:
|
||||||
formatting:
|
formatting:
|
||||||
name: Check formatting
|
name: Check formatting
|
||||||
if: ${{ github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name, 'S-awaiting-merge') }}
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
@ -71,7 +64,6 @@ jobs:
|
|||||||
|
|
||||||
check-msrv:
|
check-msrv:
|
||||||
name: Check compilation on MSRV toolchain
|
name: Check compilation on MSRV toolchain
|
||||||
if: ${{ github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name, 'S-awaiting-merge') }}
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
@ -113,7 +105,6 @@ jobs:
|
|||||||
|
|
||||||
# cargo-deny:
|
# cargo-deny:
|
||||||
# name: Run cargo-deny
|
# name: Run cargo-deny
|
||||||
# if: ${{ github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name, 'S-awaiting-merge') }}
|
|
||||||
# runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
# strategy:
|
# strategy:
|
||||||
# matrix:
|
# matrix:
|
||||||
@ -135,7 +126,6 @@ jobs:
|
|||||||
|
|
||||||
test:
|
test:
|
||||||
name: Run tests on stable toolchain
|
name: Run tests on stable toolchain
|
||||||
if: ${{ github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name, 'S-awaiting-merge') }}
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
|||||||
Reference in New Issue
Block a user