Skip to content

Commit

Permalink
Add discussion autoresponder (discussion_responder.yml), redirect Git…
Browse files Browse the repository at this point in the history
…Hub discussions to Discourse in the docs, and add Discourse link to README.md (pybamm-team#4708)
  • Loading branch information
ahamed24 authored Dec 23, 2024
1 parent ef7675d commit ca2ba3c
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/discussion_autoresponder.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Discussion Autoresponder

on:
discussion:
types: [created]

jobs:
autorespond:
name: Autorespond to New Discussions
runs-on: ubuntu-latest

steps:
- name: Run Discussion Autoresponder
uses: wesleyscholl/[email protected]
with:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
comment_body: "Hi! We have now moved our discussions to [Discourse](https://pybamm.discourse.group/). Please post your question there."
delay_milliseconds: 0
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,10 @@ If you'd like to help us develop PyBaMM by adding new methods, writing documenta

## 📫 Get in touch

For any questions, comments, suggestions or bug reports, please see the
[contact page](https://www.pybamm.org/community).
For any questions, comments, suggestions or bug reports, please visit:

- Our [Contact Page](https://www.pybamm.org/community)
- Our [Discussion Forum](https://pybamm.discourse.group/)

## 📃 License

Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ PyBaMM documentation
`Installation <source/user_guide/installation/index.html>`_ |
`Source Repository <https://github.com/pybamm-team/pybamm>`_ |
`Issue Tracker <https://github.com/pybamm-team/pybamm/issues>`_ |
`Discussions <https://github.com/pybamm-team/pybamm/discussions>`_
`Discussions <https://pybamm.discourse.group/>`_

PyBaMM (Python Battery Mathematical Modelling) is an open-source battery simulation package
written in Python. Our mission is to accelerate battery modelling research by
Expand Down

0 comments on commit ca2ba3c

Please sign in to comment.