Skip to content

Commit

Permalink
Merge pull request #120 from edx/usamasadiq/update-bulk-issue-creator…
Browse files Browse the repository at this point in the history
…-workflow

build: update bulk issue creator workflow
  • Loading branch information
UsamaSadiq authored May 30, 2023
2 parents 624eed5 + 1548920 commit d4b6e90
Showing 1 changed file with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions .github/workflows/bulk-issue-creator.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# GitHub Workflow only has string type input field available as an argument
# so it is not possible to pass the issue_body as parameter
# In case a different issue body is required than the one hard coded, then
# Update the workflow with the updated issue body description, then
# 1. either merge the workflow and then trigger the workflow
# 2. or use the changed branch when triggering the action instead of main branch


name: Bulk Issue Creater
on:
workflow_dispatch:
Expand All @@ -10,10 +18,14 @@ on:
description: "Issue title (Repo name will be appended before this title)"
type: string
required: true
issue_body:
description: "Issue body message"
issue_assignee:
description: "Assignee for all the created issues (should've write access to the repo)"
type: string
default: "usamasadiq"
issue_label:
description: "Label to identify the created issues"
type: string
default: ""
default: "Django 4.2 Upgrade"

jobs:
repos_list:
Expand Down Expand Up @@ -42,8 +54,8 @@ jobs:
- name: Create issue
uses: imjohnbo/issue-bot@v3
with:
assignees: "usamasadiq"
labels: "Django 4.2 Upgrade"
assignees: "${{ github.event.inputs.issue_assignee }}"
labels: "${{ github.event.inputs.issue_label }}"
title: "[${{ matrix.repos }}]: ${{github.event.inputs.issue_title}}"
body: |
## Description
Expand All @@ -54,9 +66,9 @@ jobs:
- [ ] Update the trove classifiers in setup.py, setup.cfg or pyproject.toml files.
- [ ] Run and verify all tests are passing in the CI for Django 4.2
- [ ] Run available code-mods to fix the failing tests
- [ ] Add CHANGELOG entry with description "Support added for Django 4.2"
- [ ] Add CHANGELOG entry with description Support added for Django 4.2
- [ ] Bump the package version and release a new version on GitHub & PyPI (whichever is applicable)
- [ ] Update the repo support field in the Dependency Upgrade Sheet.
- [ ] Update the repo support field in the Dependency Upgrade Sheet.
env:
GITHUB_TOKEN: ${{ secrets.requirements_bot_github_token }}

0 comments on commit d4b6e90

Please sign in to comment.