Skip to content

Commit

Permalink
Merge pull request #457 from aanil/server_status
Browse files Browse the repository at this point in the history
Try PR label check action
  • Loading branch information
aanil authored Jan 28, 2025
2 parents e60b055 + 9d6ba00 commit c1c8508
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/pr_labels.yml

This file was deleted.

21 changes: 21 additions & 0 deletions .github/workflows/check_pr_label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Check Label on PR
on:
pull_request:
types: [opened, synchronize, labeled, unlabeled]

jobs:
check_pr_label:
runs-on: ubuntu-latest
steps:
- name: Checkout PR
uses: actions/checkout@v3
with:
fetch-depth: 0 # Fetch all history for all branches and tags

- name: Check if the PR contains the label validation or no validation
id: check_pr_label
if: |
! contains( github.event.pull_request.labels.*.name, 'validation') && ! contains( github.event.pull_request.labels.*.name, 'no validation')
run: |
echo "Neither 'validation' nor 'no validation' labels are present."
exit 1 # Exit with a failure
4 changes: 4 additions & 0 deletions VERSIONLOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# TACA Version Log

## 20250128.1

Replace PR labels action

## 20250122.2

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

0 comments on commit c1c8508

Please sign in to comment.