github actions initial workflow

This commit is contained in:
Stilian Boyadzhiev 2025-05-29 12:04:44 +03:00
parent 3f7b8bc976
commit 902cd5858b

17
.github/workflows/hell.yml vendored Normal file
View file

@ -0,0 +1,17 @@
name: Triggers on merge with specified lable
on:
pull_request:
types:
- closed
workflow_dispatch:
jobs:
run-if-merged-and-has-label:
if: |
github.event.pull_request.merged == true &&
contains(github.event.pull_request.labels.*.name, 'CI:Build')
runs-on: ubuntu-latest
steps:
- name: Do something
run: echo "PR was merged and has label CI:Build"