Skip to content

Commit

Permalink
Update prt_labels.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Omkar Khatavkar authored Feb 22, 2024
1 parent dfbb156 commit ac8bc9d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/prt_labels.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# CI stages to execute against Pull Requests
name: Robottelo - CI
name: prt_labels remover

on:
push:
Expand All @@ -10,7 +9,7 @@ jobs:
prt_labels:
name: remove the PRT label, if it is a new commit
runs-on: ubuntu-latest
if: "!(contains(github.event.pull_request.labels.*.name, 'PRT-Passed') || contains(github.event.pull_request.labels.*.name, 'PRT-Failed'))"
if: "!(contains(github.event.pull_request.labels.*.name, 'PRT-Passed') || !contains(github.event.pull_request.labels.*.name, 'PRT-Failed'))"
steps:
- name: get the PRT status, it will be empty in case of the new commit
id: prt
Expand Down

0 comments on commit ac8bc9d

Please sign in to comment.