Skip to content

Commit

Permalink
Names
Browse files Browse the repository at this point in the history
  • Loading branch information
aanil committed Jan 9, 2025
1 parent d024207 commit a391d44
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/check_pr_label.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Check Label on PR
.github/workflows/check_pr_label.ymlname: Check Label on PR
on:
pull_request:
types: [opened, synchronize, labeled, unlabeled]

jobs:
check-pr_label:
check_pr_label:
runs-on: ubuntu-latest
steps:
- name: Checkout PR
Expand All @@ -13,7 +13,7 @@ jobs:
fetch-depth: 0 # Fetch all history for all branches and tags

- name: Check if the PR contains the label validation or no validation
id: prlabel_check
id: check_pr_label
if: |
! contains( github.event.pull_request.labels.*.name, 'validation') && ! contains( github.event.pull_request.labels.*.name, 'no validation')
run: |
Expand Down

0 comments on commit a391d44

Please sign in to comment.