Update to pyquil 4. #5
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: New issue | |
on: | |
issues: | |
types: [opened] | |
jobs: | |
jira_task: | |
name: Create Jira issue | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Login | |
uses: atlassian/[email protected] | |
env: | |
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }} | |
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }} | |
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }} | |
- name: Create Bug | |
uses: atlassian/[email protected] | |
if: contains(github.event.issue.labels.*.name, 'bug') | |
with: | |
project: TKET | |
issuetype: Bug | |
summary: « [pytket-pyquil] ${{ github.event.issue.title }}» | |
description: ${{ github.event.issue.html_url }} | |
- name: Create Task | |
uses: atlassian/[email protected] | |
if: "! contains(github.event.issue.labels.*.name, 'bug')" | |
with: | |
project: TKET | |
issuetype: Task | |
summary: « [pytket-pyquil] ${{ github.event.issue.title }}» | |
description: ${{ github.event.issue.html_url }} |