Skip to content

Commit

Permalink
Add a new label Skip Contrib Tests that skips contrib tests requireme…
Browse files Browse the repository at this point in the history
…nt (#5787)

* Add a new label Skip Contrib Tests that skips contrib tests requirement

Signed-off-by: Bogdan <bogdandrutu@gmail.com>

* Add ready_for_review as supported event types to trigger changelog and contrib-tests

Signed-off-by: Bogdan <bogdandrutu@gmail.com>
  • Loading branch information
bogdandrutu authored Aug 2, 2022
1 parent 7c2abd7 commit 6b847a1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name: changelog

on:
pull_request:
types: [opened, synchronize, reopened, labeled, unlabeled]
types: [opened, ready_for_review, synchronize, reopened, labeled, unlabeled]
branches:
- main

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/contrib-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
tags:
- v[0-9]+.[0-9]+.[0-9]+.*
pull_request:
types: [opened, ready_for_review, synchronize, reopened, labeled, unlabeled]
branches: [ main ]

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
Expand All @@ -13,6 +15,8 @@ concurrency:
jobs:
contrib_tests:
runs-on: ubuntu-latest
if: ${{ !contains(github.event.pull_request.labels.*.name, 'Skip Contrib Tests') }}

steps:
- name: Checkout Repo
uses: actions/checkout@v3
Expand Down

0 comments on commit 6b847a1

Please sign in to comment.