Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add issues templates #15

Merged
merged 4 commits into from
Oct 5, 2023
Merged

Add issues templates #15

merged 4 commits into from
Oct 5, 2023

Conversation

lauraporta
Copy link
Member

Description

What is this PR

  • Bug fix
  • Addition of a new feature
  • Other

Why is this PR needed?
When the template is used to generate a new repo, issues are not copied. Here we are trying to automatically open the issues at the moment of the creation of the new repository.

What does this PR do?
Adds a GitHub action that should handle the issue creation and markdown files as issues templates.

References

GH action from dpshelio: https://github.com/UCL-COMP0233-22-23/RSE-Classwork/blob/main/.github/workflows/update-issue.yaml

How has this PR been tested?

I think we have to merge it into main to test if it works 🤔

Is this a breaking change?

No

Does this PR require an update to the documentation?

No

Checklist:

  • The code has been tested locally
  • Tests have been added to cover all new functionality
  • The documentation has been updated to reflect any changes
  • The code has been formatted with pre-commit

@lauraporta lauraporta linked an issue Sep 27, 2023 that may be closed by this pull request
@lauraporta
Copy link
Member Author

It seems like the bot did immediately create new issues when the PR was created... not exactly the intended behaviour... will it create issues for every new PR? 😂

@alessandrofelder
Copy link
Member

IIUC on: create will be triggered anytime a new tag or branch is pushed. As an intermediary solution, we should do it on a published release, so on the morning of the course we would

  1. create the repo from the template
  2. make a release

Copy link
Member

@alessandrofelder alessandrofelder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A suggestion for an intermediate solution based on creating issues on release - what do you think @lauraporta ?

@alessandrofelder alessandrofelder merged commit c9c067c into main Oct 5, 2023
13 checks passed
@alessandrofelder alessandrofelder deleted the automate-issue branch October 5, 2023 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Automate issue creation
2 participants