derjuulsn / todo-issue Goto Github PK
View Code? Open in Web Editor NEWđ€ GitHub Action which creates Issues from comments in your code
License: ISC License
đ€ GitHub Action which creates Issues from comments in your code
License: ISC License
todo-issue/src/GitHubContext.ts
Lines 60 to 65 in be06810
TODO
comment in be06810.I keep getting an error saying it only supports 'boolean' types... looking at the index.js:
exports.argumentContext = {
keywords: inputParser.getInput('keywords', { type: 'array', default: ['TODO'] }),
bodyKeywords: inputParser.getInput('bodyKeywords', { type: 'array', default: [] }),
caseSensitive: inputParser.getInput('label', { type: "boolean", default: true }),
titleSimilarity: inputParser.getInput("taskSystem", {
type: "number",
disableable: true,
default: 80
}),
label: inputParser.getInput('label', { type: "array", disableable: true, default: true }),
blobLines: inputParser.getInput('blobLines', { type: "number", default: 5, disableable: true }),
autoAssign: inputParser.getInput('autoAssign', {
type: "array",
disableable: true,
default: true
}),
excludePattern: inputParser.getInput('excludePattern', { type: 'string' }),
taskSystem: inputParser.getInput("taskSystem", { type: "string", default: "GitHub" }),
importAll: (_c = (_b = (_a = github === null || github === void 0 ? void 0 : github.context) === null || _a === void 0 ? void 0 : _a.payload) === null || _b === void 0 ? void 0 : _b.inputs) === null || _c === void 0 ? void 0 : _c.importAll,
reopenClosed: inputParser.getInput("reopenClosed", { type: "boolean", default: true })
};
Do I read that correctly that: caseSensitive: inputParser.getInput('label', { type: "boolean", default: true }),
is colliding? (typo?)
Lines 67 to 72 in 9337b5b
TODO
comment in 9337b5b. It's been assigned to @DerJuulsn because they committed the code.As per the title, the bot does not currently correctly handle spaces in filenames and/or folder names. I am unable to demonstrate this as I encountered the bug in a private repository.
I would be willing to lend a hand in fixing this given guidance on where to look in the codebase.
Thank you in advance.
As per the title, a setting like blobLines
that allows to show lines before rather than just lines after would be nice.
wenn das to_do einen sehr Ă€hnlichen Titel hat, aber evtl nicht in der selben Datei steht kann er entweder zusammen gefasst werden (wenn der Titel lĂ€nger als z.B. 15 zeichen ist?) oder der Titel kĂŒrzer ist und somit nicht aussagekrĂ€ftig genug ist um es in dasselbe Issue zu stecken fĂŒrs erste gehen wir mal davon aus so oft wie möglich zu mergen
Lines 48 to 53 in be06810
TODO
comment in be06810.Hey there! My config looks like this
name: Create issues for TODOs
on:
workflow_dispatch:
inputs:
importAll:
default: "false"
required: false
type: boolean
description: Enable, if you want to import all TODOs.
push:
branches:
- development
permissions:
issues: write
repository-projects: read
contents: read
jobs:
todos:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run Issue Bot
uses: derjuulsn/todo-issue@main
with:
excludePattern: "^(mkdocs-material/|src/assets/javascripts/)"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Yet, every time I want to kick off a manual run with import all, it errors with Action can only be used on trigger push or in manual and importAll mode
any ideas?
Lines 61 to 66 in be06810
TODO
comment in be06810.Some one kindly look at this.
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.