aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/main-pr.yml
diff options
context:
space:
mode:
authorSyndamia <kamen@syndamia.com>2024-08-11 19:33:54 +0300
committerSyndamia <kamen@syndamia.com>2024-08-11 19:33:54 +0300
commitf60610d65cb5880a99e86452becdb831ec731d2a (patch)
treeb1722c59c7c8915341b88e5bb7d4242d6a194e3e /.github/workflows/main-pr.yml
parentc25fd6299f2404f375d4e6bc461856db669a26a5 (diff)
downloadpico-web-f60610d65cb5880a99e86452becdb831ec731d2a.tar
pico-web-f60610d65cb5880a99e86452becdb831ec731d2a.tar.gz
pico-web-f60610d65cb5880a99e86452becdb831ec731d2a.zip
feat!: Major rework of DevOps components
Diffstat (limited to '.github/workflows/main-pr.yml')
-rw-r--r--.github/workflows/main-pr.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/main-pr.yml b/.github/workflows/main-pr.yml
new file mode 100644
index 0000000..c122af8
--- /dev/null
+++ b/.github/workflows/main-pr.yml
@@ -0,0 +1,14 @@
+name: Check for release label inside pull request
+on:
+ pull_request:
+ types: [opened, edited, ready_for_review, review_requested]
+ branches:
+ - 'main'
+jobs:
+ has_release_label:
+ if: ! contains(github.event.pull_request.labels.*.name, 'release:major') &&
+ ! contains(github.event.pull_request.labels.*.name, 'release:minor') &&
+ ! contains(github.event.pull_request.labels.*.name, 'release:patch')
+ runs-on: ubuntu-latest
+ steps:
+ - run: exit 1