Skip to content

Commit

Permalink
i was the idiot all along
Browse files Browse the repository at this point in the history
  • Loading branch information
p-goulart committed Feb 9, 2024
1 parent b588b82 commit 889aa10
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ jobs:
echo "LABELS: ${{ github.event.pull_request.labels[0].name }}"
echo "LABELS CONTAINS?? ${{ contains(github.event.pull_request.labels.*.name, 'skip_lt_test') }}"
echo "HEAD COMMIT MSG: ${{ github.event.pull_request.head.commit.message }}"
echo "Will it skip?? ${{ (contains(github.event.pull_request.head.commit.message, '[skip lt test]') == false) || (contains(github.event.pull_request.labels.*.name, 'skip_lt_test') == false) }}"
echo "Will it skip?? ${{ (contains(github.event.pull_request.head.commit.message, '[skip lt test]') == false) && (contains(github.event.pull_request.labels.*.name, 'skip_lt_test') == false) }}"
- name: Skip if 'skip lt test'
if: ${{ (contains(github.event.pull_request.head.commit.message, '[skip lt test]') == false) || (contains(github.event.pull_request.labels.*.name, 'skip_lt_test') == false) }}
if: >
(contains(github.event.pull_request.head.commit.message, '[skip lt test]') == false) &&
(contains(github.event.pull_request.labels.*.name, 'skip_lt_test') == false)
run: |
echo "Not skipping :("
echo "Will it skip?? ${{ (contains(github.event.pull_request.head.commit.message, '[skip lt test]') == false) || (contains(github.event.pull_request.labels.*.name, 'skip_lt_test') == false) }}"

0 comments on commit 889aa10

Please sign in to comment.