Skip to content

ymtdzzz/issue-scouter

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Issue Scouter

Issue Scouter is a GitHub Action that helps you find issues you can contribute to within specified repositories.

Usage

1. Create a Repository

To use Issue Scouter, you need to create a dedicated GitHub repository where the generated issue list will be stored.

cf. https://github.com/ymtdzzz/my-issue-scouter

2. Create a Configuration File

Create a configuration file (e.g., config.yml) to specify the repositories and labels you want to track.

repositories:
  OpenTelemetry:
    - https://github.com/open-telemetry/opentelemetry-ruby
    - https://github.com/open-telemetry/opentelemetry-ruby-contrib
  Gem:
    - https://github.com/lostisland/faraday
    - https://github.com/fog/fog-google
labels:
  - "help wanted"
  - "good first issue"
# If this option is true, generated issue list will contain detailed issue metadata as comment,
# which can be send to the LLM.
include_metadata: true

Tips

You can list repositories from package definition file like Gemfile by following commands:

  • Gemfile
    • gem list --local --details | rg -o 'https://github.com/\S+'
    • bundle exec gem list --details | rg -o 'https://github.com/\S+'

After adding the repositories in example.yml, you can see the labels in the repositories by running make run-local-labels

3. Set Up the Workflow

Create a GitHub Actions workflow (e.g., .github/workflows/issue-scouter.yml) to run Issue Scouter periodically.

name: Run Issue Scouter

on:
  workflow_dispatch:
  schedule:
    - cron: "0 15 * * *" # 00:00:00 JST

jobs:
  run-issue-scouter:
    runs-on: ubuntu-latest
    permissions:
      contents: write # issue-scouter needs write permission to commit changes in your repository
    steps:
      - name: Checkout repository
        uses: actions/checkout@v4
      - name: Run Issue Scouter
        uses: ymtdzzz/[email protected] # use the latest version of issue-scouter
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          dry_run: "false"
          config_file: "config.yml"

4. View the Generated Issue List

After execution, an issue list will be generated in your repository. You can check an example output at https://github.com/ymtdzzz/my-issue-scouter .

Contributing

Contributions are welcome! Feel free to submit issues and pull requests to improve Issue Scouter.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •