Coder Social home page Coder Social logo

peaceiris / actions-suggest-related-links Goto Github PK

View Code? Open in Web Editor NEW
30.0 3.0 2.0 1.34 MB

A GitHub Action to suggest related or similar issues, documents, and links. Based on the power of NLP and fastText.

License: MIT License

Dockerfile 10.03% Makefile 4.63% TypeScript 55.91% JavaScript 0.73% Python 23.51% Shell 5.19%
fasttext nlp actions github-actions issue-management

actions-suggest-related-links's Introduction

actions-suggest-related-links's People

Contributors

dependabot[bot] avatar peaceiris avatar s-kaisei 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

Watchers

 avatar  avatar  avatar

Forkers

syllogy ishowta

actions-suggest-related-links's Issues

test new suggestion message style

Description

Currently, all files that are set to be ignored in .gitignore will not be deployed by the action. This seems to be caused by the git clone operation and, while I haven't been able to find any discussion on this in issues or PRs (I used github's search tool, so I might be on the wrong here), I think it's safe to assume that this is the intended behaviour.

I believe that this behaviour could be counterintuitive to some users, so it may be interesting to document it on the readme, or at least discuss the idea here.

Reproduction

  1. Create a repository that includes a .gitignore file that blacklists some files
  2. Set up a CI pipeline that deploys the directory that contains the .gitignore file using this action
  3. Files specified on .gitignore will not be deployed

You can see this behaviour on this CI run.

Reasons why this can be unexpected

I personally got confused by this behaviour, as I expected .gitignored files to be deployed. My thought process went along the lines of:

  1. People usually deploy build artifacts
  2. Build artifacts are usually excluded from git through .gitignore
  3. Thus, .gitignore files are probably not ignored when deploying

test unclickable false

Description

Currently, all files that are set to be ignored in .gitignore will not be deployed by the action. This seems to be caused by the git clone operation and, while I haven't been able to find any discussion on this in issues or PRs (I used github's search tool, so I might be on the wrong here), I think it's safe to assume that this is the intended behaviour.

I believe that this behaviour could be counterintuitive to some users, so it may be interesting to document it on the readme, or at least discuss the idea here.

Reproduction

  1. Create a repository that includes a .gitignore file that blacklists some files
  2. Set up a CI pipeline that deploys the directory that contains the .gitignore file using this action
  3. Files specified on .gitignore will not be deployed

You can see this behaviour on this CI run.

Reasons why this can be unexpected

I personally got confused by this behaviour, as I expected .gitignored files to be deployed. My thought process went along the lines of:

  1. People usually deploy build artifacts
  2. Build artifacts are usually excluded from git through .gitignore
  3. Thus, .gitignore files are probably not ignored when deploying

test unclickable true

Description

Currently, all files that are set to be ignored in .gitignore will not be deployed by the action. This seems to be caused by the git clone operation and, while I haven't been able to find any discussion on this in issues or PRs (I used github's search tool, so I might be on the wrong here), I think it's safe to assume that this is the intended behaviour.

I believe that this behaviour could be counterintuitive to some users, so it may be interesting to document it on the readme, or at least discuss the idea here.

Reproduction

  1. Create a repository that includes a .gitignore file that blacklists some files
  2. Set up a CI pipeline that deploys the directory that contains the .gitignore file using this action
  3. Files specified on .gitignore will not be deployed

You can see this behaviour on this CI run.

Reasons why this can be unexpected

I personally got confused by this behaviour, as I expected .gitignored files to be deployed. My thought process went along the lines of:

  1. People usually deploy build artifacts
  2. Build artifacts are usually excluded from git through .gitignore
  3. Thus, .gitignore files are probably not ignored when deploying

Support exempt-labels and only-labels input option

Is your feature request related to a problem? Please describe

  exempt-issue-labels:
    description: 'The labels to apply when an issue is exempt from being marked a target of suggesting. Separate multiple labels with commas (eg. "label1,label2")'
    default: ''
  only-labels:
    description: 'Only issues with all of these labels are the target of suggesting. Defaults to `[]` (disabled) and can be a comma-separated list of labels.'
    default: ''

Describe the solution you'd like

      - uses: peaceiris/actions-suggest-related-links@v1
        with:
          exempt-issue-labels: 'proposal'

Describe alternatives you've considered

N/A

Additional context

Support edited event

Is your feature request related to a problem? Please describe

on:
  issues:
    types:
      - opened
      - edited

Describe the solution you'd like

When the edited event is triggered, suggested links are updated.

Describe alternatives you've considered

N/A

Additional context

Blocked by community/community#4350

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.