Skip to content
No description, website, or topics provided.
JavaScript
Use this GitHub Action with your project

Add this Action to an existing workflow or create a new one.

View on Marketplace
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
node_modules fix(SSBP-4): Add node_modules to git Jan 5, 2020
.gitignore fix(SSBP-4): Add node_modules to git Jan 5, 2020
LICENSE Initial commit Jan 5, 2020
README.md feat(SSBP-4): Add yaml tag to readme code Jan 6, 2020
action.yml feat(SSBP-4): Add icon and color Jan 6, 2020
index.js feat(SSBP-4): Add checkedLabel output Jan 6, 2020
package-lock.json
package.json feat(SSBP-4): Try some methods and spike thinkgs Jan 5, 2020

README.md

Does PR has the label?

Do you want to know if a PR has a particular label? You can use this action to easily chech that, and use the output as you need:

Example:

name: CI
on: 
  pull_request:
    types: [opened, labeled]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: Dreamcodeio/pr-has-label-action@master
      id: checkLabel
      with:
        label: PROVISION:FEATURE_BRANCH
    - name: Does 'pull_request' has ${{ steps.checkLabel.outputs.checkedLabel }} label? 
      run: echo "${{ steps.checkLabel.outputs.hasLabel }}" 
You can’t perform that action at this time.