Skip to main content
Pular para o conteúdo principal

📋 Issue Importer Action

GitHub Action para importar issues em massa de CSV/JSON

Em um mundo onde agentes de codificação AI e engenharia de prompts estão se tornando a nova normalidade, os issues continuam sendo a base do desenvolvimento de software produtivo.

🎯 Uma Ação do GitHub que permite importar issues em massa de um arquivo CSV ou JSON diretamente para o seu repositório, perfeita para atribuir tarefas estruturadas ao GitHub Copilot.

Seja gerenciando um sprint, migrando de outro sistema ou configurando um novo repositório com o modo Agente do Copilot, essa ferramenta fecha a lacuna entre planejamento e execução automatizada.

Issue Importer Action

Como eu construí

Criei essa Ação do GitHub do zero usando o seguinte prompt estruturado, definindo a pilha tecnológica, estrutura e automação que eu queria, e deixei o GitHub Copilot ajudar a dar vida a isso. Essa experiência me lembrou o quão acessíveis e capacitadoras as ferramentas de hoje se tornaram para desenvolvedores de todos os níveis.

create a complete repository for a reusable github action that imports issues from a csv or json file into a repository. the action should support both formats and accept three inputs: file path, file format (csv or json), and github token. use node.js for the core logic and make the action publishable to the github marketplace. include an action.yml file with properly documented inputs, outputs, and usage metadata. also include a readme.md that explains the usage, configuration, and example workflow. the base project must include a .github folder with a ci-cd workflow file using actions/checkout and actions/setup-node, install dependencies, run tests, and optionally publish the action to the marketplace or tag the release. add a codeql analysis workflow with javascript configuration. add a basic issue template under .github/ISSUE_TEMPLATE including title, description, and reproduction steps. include a dependabot.yml file to keep the node dependencies up to date weekly. include a minimal package.json and ensure the index.js file contains working logic to read the file, parse the content based on format, and create issues via the github rest api. add basic unit tests in a tests folder. ensure the repository is ready to be pushed and used as an open-source github action with all best practices. do not scaffold a sample repository using hello world, start from scratch using the issue importer concept.

Se isso ajudar você ou sua equipe a avançar mais rápido com automação, adoraria saber como você a utiliza. Vamos continuar construindo — mais inteligente, mais rápido e juntos. 🚀

Pergunte-me sobre meu site

Desenvolvido com Microsoft Foundry

👋 Olá amig@!

Você pode me perguntar sobre:

  • Posts no blog ou artigos técnicos.
  • Projetos e contribuições.
  • Gaming: Xbox, PlayStation, Switch, jogos de tabuleiro, xadrez, atualizações mensais.
  • Resenhas de filmes e séries, Sobre mim e minha jornada de saúde.