From 55ce86bcd45dcd84ab59194ac326410693cabff4 Mon Sep 17 00:00:00 2001 From: Max Rydahl Andersen Date: Mon, 20 Apr 2020 12:15:22 +0200 Subject: [PATCH] Enable epic maker workflow when committed then issues with label `kind/epic` will on open/edit/labeling have a section like: ``` ``` Expanded to a task list with link to issue + title header. the checkbox will reflect wether open or closed at the time of edit of the issue. (we can potentially improve that in future) Includes update to epic template and disables debug printing as to speed things up a bit. --- .github/ISSUE_TEMPLATE/epic.md | 9 +++++++-- .github/workflows/autolabel.yml | 4 ++-- .github/workflows/epicissues.yml | 18 ++++++++++++++++++ 3 files changed, 27 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/epicissues.yml diff --git a/.github/ISSUE_TEMPLATE/epic.md b/.github/ISSUE_TEMPLATE/epic.md index 88ba1f93b76bf..b8815ccbc6ce1 100644 --- a/.github/ISSUE_TEMPLATE/epic.md +++ b/.github/ISSUE_TEMPLATE/epic.md @@ -13,5 +13,10 @@ assignees: '' ### Analysis (links to analysis docs containing architecture design work, requirements gathering, etc) -### Tasks -- [ ] _Checklist of sub tasks goes here, represented as links to GitHub issues_ + diff --git a/.github/workflows/autolabel.yml b/.github/workflows/autolabel.yml index 492680514c64d..85c2ed5e518f6 100644 --- a/.github/workflows/autolabel.yml +++ b/.github/workflows/autolabel.yml @@ -8,8 +8,8 @@ jobs: runs-on: ubuntu-latest name: auto label steps: - - name: Debug Action - uses: hmarr/debug-action@v1.0.0 +# - name: Debug Action +# uses: hmarr/debug-action@v1.0.0 - name: issuelabeler continue-on-error: true uses: docker://maxandersen/jbang-issuelabeler diff --git a/.github/workflows/epicissues.yml b/.github/workflows/epicissues.yml new file mode 100644 index 0000000000000..07e0998b1ba97 --- /dev/null +++ b/.github/workflows/epicissues.yml @@ -0,0 +1,18 @@ +name: "Epic issue lists" +on: + issues: + types: [opened, edited, labeled] + +jobs: + autolabel: + runs-on: ubuntu-latest + name: auto label + steps: +# - name: Debug Action +# uses: hmarr/debug-action@v1.0.0 + - name: epicmaker + uses: docker://maxandersen/jbang-epic-maker + env: + GITHUB_TOKEN: ${{ secrets.ISSUE_GITHUB_TOKEN }} + BOTNAME: quarkusbot + EPICLABEL: kind/epic \ No newline at end of file