Skip to content

Commit

Permalink
build: update bulk issue creator workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
UsamaSadiq committed May 30, 2023
1 parent 892f426 commit 1548920
Showing 1 changed file with 21 additions and 6 deletions.
27 changes: 21 additions & 6 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,12 +18,8 @@ on:
description: "Issue title (Repo name will be appended before this title)"
type: string
required: true
issue_body:
description: "Issue body message"
type: string
default: ""
issue_assignee:
description: "Assignee for all the issues (should've write access to the repo)"
description: "Assignee for all the created issues (should've write access to the repo)"
type: string
default: "usamasadiq"
issue_label:
Expand Down Expand Up @@ -53,7 +57,18 @@ jobs:
assignees: "${{ github.event.inputs.issue_assignee }}"
labels: "${{ github.event.inputs.issue_label }}"
title: "[${{ matrix.repos }}]: ${{github.event.inputs.issue_title}}"
body: "${{ github.event.inputs.issue_body }}"
body: |
## Description
Follow and Complete all of the following steps for the issue to be marked as done.
- [ ] Update tox & Github action workflow using modernisers to add support for Django 4.2
- [ ] Remove any versions of Python earlier than 3.8 from tox.ini, .travis.yml, and GitHub Actions workflows.
- [ ] 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”
- [ ] 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.
env:
GITHUB_TOKEN: ${{ secrets.requirements_bot_github_token }}

0 comments on commit 1548920

Please sign in to comment.