bdougie / issue-pin-by-label Goto Github PK
View Code? Open in Web Editor NEWThis is an action that pins issues based on desired labe
Home Page: https://github.com/marketplace/actions/pin-issue-based-on-label
This is an action that pins issues based on desired labe
Home Page: https://github.com/marketplace/actions/pin-issue-based-on-label
Hi All,
I'm having issue with Pin Issue based on Labels getting error when i create a new Issues in github repo after selecting labels into that i got github action job fail and error is below one
Please set up a LABEL_NAME environment variable in the main.workflow file
and Here is my pin.yaml file
# .github/workflows/pin.yml
on:
issues:
types: [labeled]
name: pin issue based on label
jobs:
pinAnIssue:
name: pin an issue
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: pin an issue
uses: bdougie/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LABEL_NAME: blocker
I want to know how to add mutiple labels in my pin.yaml file please tell me
The pin action fails with this log statement.
You can pin based on bug by setting the LABEL_NAME environment variable in the main.workflow file
https://github.com/apisec-inc/Support/actions/runs/2099573644
Here is my yml file
on:
issues:
types: [labeled]
name: pin issue based on label
jobs:
pinAnIssue:
name: pin an issue
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: pin an issue
uses: bdougie/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LABEL_NAME: blocker
Looks like the natural when the label does not match shows as a failure.
This caused concern on my team.
https://github.com/bdougie/issue-pin-by-label/blob/master/index.js#L36
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.