Skip to content

Commit c1c8508

Browse files
authored
Merge pull request #457 from aanil/server_status
Try PR label check action
2 parents e60b055 + 9d6ba00 commit c1c8508

File tree

3 files changed

+25
-6
lines changed

3 files changed

+25
-6
lines changed

.github/pr_labels.yml

Lines changed: 0 additions & 6 deletions
This file was deleted.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Check Label on PR
2+
on:
3+
pull_request:
4+
types: [opened, synchronize, labeled, unlabeled]
5+
6+
jobs:
7+
check_pr_label:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout PR
11+
uses: actions/checkout@v3
12+
with:
13+
fetch-depth: 0 # Fetch all history for all branches and tags
14+
15+
- name: Check if the PR contains the label validation or no validation
16+
id: check_pr_label
17+
if: |
18+
! contains( github.event.pull_request.labels.*.name, 'validation') && ! contains( github.event.pull_request.labels.*.name, 'no validation')
19+
run: |
20+
echo "Neither 'validation' nor 'no validation' labels are present."
21+
exit 1 # Exit with a failure

VERSIONLOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# TACA Version Log
22

3+
## 20250128.1
4+
5+
Replace PR labels action
6+
37
## 20250122.2
48

59
Improve the way TACA identifies run dirs in the "bioinfo_deliveries --update" command (bioinfo_tab.py).

0 commit comments

Comments
 (0)