From 3657367c46a5a7c515cfa43f297e2b72b90224d6 Mon Sep 17 00:00:00 2001 From: joe-allen-89 <85872286+joe-allen-89@users.noreply.github.com> Date: Tue, 19 Jul 2022 15:13:51 +0100 Subject: [PATCH] New: Issue and pr project addition automation (refs https://github.com/adaptlearning/adapt_framework/issues/3315) (#79) Co-authored-by: Oliver Foster --- .github/CONTRIBUTING.md | 8 ++++++++ .github/ISSUE_TEMPLATE.md | 18 ++++++++++++++++++ .github/workflows/addtomainproject.yml | 19 +++++++++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 .github/CONTRIBUTING.md create mode 100644 .github/ISSUE_TEMPLATE.md create mode 100644 .github/workflows/addtomainproject.yml diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md new file mode 100644 index 0000000..b9e6dc8 --- /dev/null +++ b/.github/CONTRIBUTING.md @@ -0,0 +1,8 @@ +We heartily welcome contributions to the Adapt project source code and community. +Here is a list of resources you may find useful: + +* [Contributing to the Adapt project documentation](https://github.com/adaptlearning/adapt_framework/wiki/Contributing-to-the-Adapt-Project) +* [The Adapt framework wiki](https://github.com/adaptlearning/adapt_framework/wiki) +* [Gitter chat room](https://gitter.im/adaptlearning/adapt_framework) +* [General GitHub documentation](http://help.github.com/) +* [GitHub pull request documentation](http://help.github.com/send-pull-requests/) diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md new file mode 100644 index 0000000..4d20348 --- /dev/null +++ b/.github/ISSUE_TEMPLATE.md @@ -0,0 +1,18 @@ +### Subject of the issue/enhancement/features +Describe your issue here. + +### Your environment +* version (AT/Framework) +* which browser and its version +* device(s) + operating system(s) + +### Steps to reproduce +Tell us how to reproduce this issue. + +### Expected behaviour +Tell us what should happen + +### Actual behaviour +Tell us what happens instead + +### Screenshots (if you can) diff --git a/.github/workflows/addtomainproject.yml b/.github/workflows/addtomainproject.yml new file mode 100644 index 0000000..49a7540 --- /dev/null +++ b/.github/workflows/addtomainproject.yml @@ -0,0 +1,19 @@ +name: Add to main project + +on: + issues: + types: + - opened + pull_request: + types: + - opened + +jobs: + add-to-project: + name: Add to main project + runs-on: ubuntu-latest + steps: + - uses: actions/add-to-project@v0.1.0 + with: + project-url: https://github.com/orgs/adaptlearning/projects/2 + github-token: ${{ secrets.ADDTOPROJECT_TOKEN }}