mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2026-09-24 07:25:03 -05:00
* Make some CI conditional for forks Signed-off-by: wallentx <william.allentx@gmail.com> * fix conditional for build installers Signed-off-by: wallentx <william.allentx@gmail.com> * fix macos ARM and Linux ARM onnpre-commit Signed-off-by: wallentx <william.allentx@gmail.com> * Testing SSH signing * Remove conditional for checking signed commits * Use macos-15 instead of macos-latest, and use public gh linux arm * fix yaml array vs literal string --------- Signed-off-by: wallentx <william.allentx@gmail.com>
27 lines
749 B
YAML
27 lines
749 B
YAML
name: 🚨 Check PR Labels
|
|
on:
|
|
pull_request:
|
|
types: [opened, labeled, unlabeled, synchronize]
|
|
jobs:
|
|
check-labels:
|
|
if: github.repository_owner == 'Chia-Network'
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
checks: write
|
|
pull-requests: read
|
|
statuses: write
|
|
outputs:
|
|
status: ${{ steps.check-labels.outputs.status }}
|
|
steps:
|
|
- id: check-labels
|
|
uses: mheap/github-action-required-labels@v5
|
|
with:
|
|
mode: exactly
|
|
count: 1
|
|
labels: "Added, Changed, Fixed"
|
|
exit_type: success
|
|
- run: echo SUCCESS
|
|
if: steps.check-labels.outputs.status == 'success'
|
|
- run: echo FAILURE && exit 1
|
|
if: steps.check-labels.outputs.status == 'failure'
|