Skip to content

Commit

Permalink
Add check for 'run all ci' label
Browse files Browse the repository at this point in the history
  • Loading branch information
richardpringle committed Apr 29, 2024
1 parent 76f8132 commit 4cc9869
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/run-all-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright (C) 2023, Ava Labs, Inc. All rights reserved.
# See the file LICENSE for licensing terms.

name: Run All CI

on:
pull_request:
types: [opened, synchronize, reopened, labeled]

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true

jobs:
check-for-label:
runs-on: ubuntu-latest
steps:
- run: if $RUN_ALL_CI == true; then exit 0; else exit 1; fi
env:
RUN_ALL_CI: ${{ contains(github.event.pull_request.labels.*.name, 'run all ci') }}

0 comments on commit 4cc9869

Please sign in to comment.