Skip to content

Commit

Permalink
ci: add todo to issue github action
Browse files Browse the repository at this point in the history
  • Loading branch information
Albert Hernandez Pellicer committed Jan 14, 2024
1 parent c32dcb0 commit 7aa30df
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
- name: ignore-for-release
description: Ignore pull request for a new release
color: ededed
- name: todo
description: Action we need to perform at some moment
color: ededed
- name: feature
description: Feature added in the PR
color: ededed
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/todo-to-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: 'Todo to issue'

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: "TODO to Issue"
uses: "alstr/todo-to-issue-action@v4"
with:
ISSUE_TEMPLATE: |
## ✅ Codebase TODO ✅
### **📝 Title**: {{ title }}
### **🔎 Details**
{{ body }}
{{ url }}
{{ snippet }}
AUTO_ASSIGN: true
IGNORE: "./github/workflows/todo-to-issue-yml"

0 comments on commit 7aa30df

Please sign in to comment.