Coder Social home page Coder Social logo

todo-issue's People

Contributors

derjuulsn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

todo-issue's Issues

Not able to update label field

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?)

Correctly escape URLs.

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.

Show lines before keyword.

As per the title, a setting like blobLines that allows to show lines before rather than just lines after would be nice.

Extend config for issue merge?

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


// TODO Extend config for issue merge?
// 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


This issue was generated by todo-issue based on a TODO comment in be06810.

Import All not working

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?

Add to regex :)

todo-issue/src/Todo.ts

Lines 61 to 66 in be06810

// TODO Add to regex :)
}
// This might have matched a minified file, or something huge.
// GitHub wouldn't allow this anyway, so let's just ignore it.
if (!title || title.length > 256) return


This issue was generated by todo-issue based on a TODO comment in be06810.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.