[Submission]: MQT Core #475
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Ecosystem | Submission | |
### | |
# - install deps | |
# - parse issue | |
# - create pr | |
on: | |
issues: | |
types: [opened, edited, reopened, closed] | |
jobs: | |
submission_workflow: | |
concurrency: | |
group: ci-${{ github.event.issue.title }} | |
cancel-in-progress: true | |
if: (startsWith(github.event.issue.title, '[Submission]:') && github.event.action != 'closed') | |
runs-on: ubuntu-latest | |
env: | |
tox_env: "py39" | |
python-version: "3.9" | |
steps: | |
# setup deps | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ env.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ env.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
pip install -r requirements-dev.txt | |
# Python workflow | |
- name: Parse submission | |
id: parse-issue | |
env: | |
ISSUE_BODY: ${{ github.event.issue.body }} | |
run: python manager.py ci add_member_from_issue --body="$ISSUE_BODY" | |
# Create PR | |
- name: Commit changes and create pull request | |
id: cpr | |
uses: peter-evans/create-pull-request@v5 | |
with: | |
commit-message: Submission - Add ${{ steps.parse-issue.outputs.SUBMISSION_NAME }} to list. | |
title: Add ${{ steps.parse-issue.outputs.SUBMISSION_NAME }} to list. | |
body: | | |
Add ${{ steps.parse-issue.outputs.SUBMISSION_NAME }} to list. | |
--- | |
Closes #${{ github.event.issue.number }} | |
branch: submission-${{ github.event.issue.number }} | |
labels: submission | |
followup_workflow: | |
concurrency: | |
group: ci-${{ github.event.issue.title }} | |
cancel-in-progress: true | |
if: > | |
startsWith(github.event.issue.title, '[Submission]:') | |
&& github.event.action == 'closed' | |
&& contains(github.event.issue.labels.*.name, 'submission') | |
runs-on: ubuntu-latest | |
steps: | |
- name: Create comment on success | |
uses: peter-evans/create-or-update-comment@v3 | |
with: | |
issue-number: ${{ github.event.issue.number }} | |
body: | | |
Hello @${{ github.event.issue.user.login }}! You joined the Qiskit ecosystem recently, here are some follow up actions you can take to make the most of the program: | |
:speech_balloon: Join other Qiskit ecosystem developers in the [Slack channel #qiskit-ecosystem](https://qiskit.slack.com/archives/C04RHE56N93) (if you are not in the Qiskit workspace yet, [sign up](https://qisk.it/join-slack)) | |
:mega: Showcase your project by | |
* [Writing a blog for your project](https://github.com/qiskit-community/ecosystem/wiki/Write-a-Blog-for-your-Project): reach out to Abby Mitchell via Slack or [email](mailto:[email protected]) if you'd like to be featured on the Qiskit blog | |
* Presenting at a [Qiskit Demoday](https://github.com/Qiskit/feedback/wiki/Qiskit-DemoDays): reach out to Luciano Bello via Slack or [email](mailto:[email protected]) to request a slot to demo your project) | |
:stethoscope: Get support integrating with Qiskit, including updating your project to Qiskit 1.0, using our [documentation theme](https://github.com/Qiskit/qiskit_sphinx_theme), and integrating with the transpiler plugin system. Reach out to Frank Harkins via [email](mailto:[email protected]) for any questions or suggestions about working with Qiskit. | |
It's great having you as a part of the ecosystem! |