redhat-plumbers-in-action / advanced-issue-labeler Goto Github PK
View Code? Open in Web Editor NEW๐ Label issues based on input and defined policy
License: MIT License
๐ Label issues based on input and defined policy
License: MIT License
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are awaiting their schedule. Click on a checkbox to get an update now.
@typescript-eslint/eslint-plugin
, @typescript-eslint/parser
)@vitest/coverage-v8
, vitest
)@typescript-eslint/eslint-plugin
, @typescript-eslint/parser
)@vitest/coverage-v8
, vitest
)github-actions
.github/workflows/check-dist.yml
actions/checkout v4
actions/setup-node v3
actions/upload-artifact v2
.github/workflows/codeql-analysis.yml
actions/checkout v4
github/codeql-action v2
github/codeql-action v2
github/codeql-action v2
.github/workflows/issue-labeler.yml
actions/checkout v4
stefanbuck/github-issue-parser v3
.github/workflows/lint.yml
actions/checkout v4
actions/setup-node v3
.github/workflows/publish-release.yml
actions/checkout v4
Actions-R-Us/actions-tagger v2
.github/workflows/release-drafter.yml
release-drafter/release-drafter v5
.github/workflows/unit-tests.yml
actions/checkout v4
actions/setup-node v3
codecov/codecov-action v3
npm
package.json
@actions/core 1.10.1
@actions/github ^6.0.0
@octokit/core ^5.0.1
@octokit/rest 20.0.2
@probot/octokit-plugin-config ^2.0.1
@total-typescript/ts-reset ^0.5.1
zod ^3.22.4
@types/node 18.19.4
@typescript-eslint/eslint-plugin 6.7.5
@typescript-eslint/parser 6.7.5
@vercel/ncc 0.38.1
@vitest/coverage-v8 ^0.34.0
eslint 8.56.0
eslint-plugin-prettier 5.1.2
js-yaml 4.1.0
prettier 3.0.3
ts-node 10.9.2
typescript 5.2.2
vitest 0.34.6
yarn 3.6.4
github-actions
.github/workflows/check-dist.yml
actions/checkout v4
actions/setup-node v3
actions/upload-artifact v2
.github/workflows/codeql-analysis.yml
actions/checkout v4
github/codeql-action v2
github/codeql-action v2
github/codeql-action v2
.github/workflows/issue-labeler.yml
actions/checkout v4
stefanbuck/github-issue-parser v3
.github/workflows/lint.yml
actions/checkout v4
actions/setup-node v3
.github/workflows/publish-release.yml
actions/checkout v4
Actions-R-Us/actions-tagger v2
.github/workflows/release-drafter.yml
release-drafter/release-drafter v5
.github/workflows/unit-tests.yml
actions/checkout v4
actions/setup-node v3
codecov/codecov-action v3
npm
package.json
@actions/core 1.10.1
@actions/github ^6.0.0
@octokit/core ^5.0.1
@octokit/rest 20.0.2
@probot/octokit-plugin-config ^2.0.1
@total-typescript/ts-reset ^0.5.1
node-fetch ^3.3.2
zod ^3.22.4
@types/node 18.18.9
@typescript-eslint/eslint-plugin 6.7.5
@typescript-eslint/parser 6.7.5
@vercel/ncc 0.38.1
@vitest/coverage-v8 ^0.34.0
eslint 8.51.0
eslint-plugin-prettier 5.0.1
js-yaml 4.1.0
prettier 3.0.3
ts-node 10.9.1
typescript 5.2.2
vitest 0.34.6
yarn 3.6.4
Bug Report
No response
No response
Bug Report
I had encountered multiple occasions when labels were not set when using policy-free configuration:
##[debug]Evaluating condition for step: 'Set labels based on browsers field'
##[debug]Evaluating: success()
##[debug]Evaluating success:
##[debug]=> true
##[debug]Result: true
##[debug]Starting: Set labels based on browsers field
##[debug]Loading inputs
##[debug]Evaluating: steps.issue-parser.outputs.jsonString
##[debug]Evaluating Index:
##[debug]..Evaluating Index:
##[debug]....Evaluating Index:
##[debug]......Evaluating steps:
##[debug]......=> Object
##[debug]......Evaluating String:
##[debug]......=> 'issue-parser'
##[debug]....=> Object
##[debug]....Evaluating String:
##[debug]....=> 'outputs'
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'jsonString'
##[debug]=> '{
##[debug] "what-happened": "A bug happened!",
##[debug] "Reproduce": "reproduce!",
##[debug] "browsers": "Microsoft Edge"
##[debug]}'
##[debug]Result: '{
##[debug] "what-happened": "A bug happened!",
##[debug] "Reproduce": "reproduce!",
##[debug] "browsers": "Microsoft Edge"
##[debug]}'
##[debug]Evaluating: secrets.GITHUB_TOKEN
##[debug]Evaluating Index:
##[debug]..Evaluating secrets:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'GITHUB_TOKEN'
##[debug]=> '***'
##[debug]Result: '***'
##[debug]Loading env
Run redhat-plumbers-in-action/advanced-issue-labeler@v2
with:
issue-form: {
"what-happened": "A bug happened!",
"Reproduce": "reproduce!",
"browsers": "Microsoft Edge"
}
section: browsers
block-list: Other Browser
token: ***
##[debug]{ property: _inputs.template, value: , notes: [object Object]
##[debug]Node Action run completed with exit code 0
##[debug]Finishing: Set labels based on browsers field
No response
Feature Request
They are similar to Issue Forms, just for GitHub Discussions.
Announced on GitHub Blog - https://github.blog/changelog/2023-02-03-category-forms-on-github-discussions/
No response
Feature Request
Currently, this app cannot be used on GitHub enterprise versions which are self hosted, because the Base API URL is set to the default API of github.com
As GitHub Enterprise is self-hosted the API URL is different.
A solution would be to create a configuration option for the API URL as a not required field which the default would be github api if not specified.
I would like to be assigned to this issue
Recently, GA gained support for job summaries which might serve as a nice way to visualise the outcome of the labeling process.
See: https://github.blog/2022-05-09-supercharging-github-actions-with-job-summaries/
Feature Request
Let's work on increasing test coverage to ensure everything works correctly.
Long term goal would be to have the following:
other
No response
No response
Something like in: redhat-plumbers-in-action/differential-shellcheck
Add overview and document all options with examples.
Bug Report
We would like to use this feature, but somehow we are not able to make it run even if we simply follow the example in the readme, the integration Lightning-AI/pytorch-lightning#17484 and the error:
with:
issue-form: {
"bug_description": "test",
"versions": "ver: 1.6.x",
"how_to_reproduce_the_bug": "",
"error_messages_and_logs": "```\r\n# Error messages and logs here please\r\n```",
"environment": "<details>\r\n <summary>Current environment</summary>\n\n```\r\n#- Lightning Component (e.g. Trainer, LightningModule, LightningApp, LightningWork, LightningFlow):\r\n#- PyTorch Lightning Version (e.g., 1.5.0):\r\n#- Lightning App Version (e.g., 0.5.2):\r\n#- PyTorch Version (e.g., 2.0):\r\n#- Python version (e.g., [3](https://github.com/Lightning-AI/lightning/actions/runs/4822458653/jobs/8589717538#step:4:3).[9](https://github.com/Lightning-AI/lightning/actions/runs/4822458653/jobs/8589717538#step:4:9)):\r\n#- OS (e.g., Linux):\r\n#- CUDA/cuDNN version:\r\n#- GPU models and configuration:\r\n#- How you installed Lightning(`conda`, `pip`, source):\r\n#- Running environment of LightningApp (e.g. local, cloud):\r\n```\n\n</details>",
"more_info": ""
}
section: versions
token: ***
Error: , versions, undefined | , versions, undefined
Error: undefined, undefined, | , versions, undefined
Error: An instance of Labeler has failed the validation:
- property _inputs._blockList has failed the following constraints: minLength
The failing run is https://github.com/Lightning-AI/lightning/actions/runs/4822458653/jobs/8589717538
Also, it is confusing as the step is ๐ข even if it fails inside
No response
Feature Request
No response
Path to a configuration file.
.github/advanced-issue-labeler.yml
optional
Feature Request
As discussed in systemd/systemd#23968 (comment) it would be useful to be able to mark issues that bypassed issue form.
/cc @evverx
Introduce new optional input that would take name of label, which would be set when issue forms were bypassed.
# ...
mark-non-issue-forms-issues:
required: false
default: ''
description: Name of label that will be set when issue form was bypassed by using `Create and empty issue` or using some other way.
# ...
Feature Request
Security guidelines provided by GitHub: Security hardening for GitHub Actions
Let's review the document from GitHub regarding GitHub Actions and security. And make Advanced Issue Labeler more secure!
Security is a long-term goal, not one of, so it would be great to have some ci check or checkbox in the Pull Request template to ensure that when reviewing new code, we comply with best security policies and guidelines.
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.