include replicaset name when enabled by user from values file #265
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check PR | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
- labeled | |
- unlabeled | |
branches: | |
- main | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-java@v1 | |
with: | |
java-version: '11' | |
java-package: jdk | |
- id: bump | |
uses: zwaldowski/match-label-action@v1 | |
with: | |
allowed: major,minor,patch | |
comment: | |
needs: "check" | |
runs-on: ubuntu-latest | |
if: always() | |
steps: | |
- uses: technote-space/workflow-conclusion-action@v2 | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Comment PR | |
if: ${{ contains(needs.check.result, 'failure') }} | |
uses: thollander/[email protected] | |
with: | |
message: "Please apply one of the following labels to the PR: 'patch', 'minor', 'major'." | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |