new development/deployment/release process #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 not added | ||
if: ${{ contains( github.event.pull_request.labels.*.name, 'devnet-pass')) != true }} | ||
Check failure on line 14 in .github/workflows/check-labels.yml GitHub Actions / Check LabelsInvalid workflow file
|
||
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 |