Skip to content

new development/deployment/release process #12

new development/deployment/release process

new development/deployment/release process #12

Workflow file for this run

name: Check Labels
on:
pull_request:
types: [opened, synchronize, labeled, unlabeled]
workflow_dispatch:
jobs:
devnet-pass:
name: devnet-pass
runs-on: ubuntu-latest
steps:
- name: Labels added
if: ${{ contains(fromJson('["devnet-pass"]'), github.event.label.name) == true }}
run: echo Pass
- name: Labels not added
if: ${{ contains(fromJson('["devnet-pass"]'), github.event.label.name) != true }}
run: exit 1
testnet-pass:
name: testnet-pass
runs-on: ubuntu-latest
steps:
- name: Check for Required Label
if: ${{ contains(fromJson('["testnet-pass"]'), github.event.label.name) != true }}
run: |
echo "Error: Required label 'testnet-pass' is missing."
exit 1