Skip to content

SNOW-1044102: Support load_model(mode_name, model_version) in registry.Registry #20

SNOW-1044102: Support load_model(mode_name, model_version) in registry.Registry

SNOW-1044102: Support load_model(mode_name, model_version) in registry.Registry #20

Workflow file for this run

---
name: Jira creation
on:
issues:
types:
- opened
issue_comment:
types:
- created
jobs:
create-issue:
runs-on: ubuntu-latest
permissions:
issues: write
if: (github.event_name == 'issues' && github.event.pull_request.user.login != 'whitesource-for-github-com[bot]')
steps:
- name: Checkout
uses: actions/checkout@v2
with:
repository: snowflakedb/gh-actions
ref: jira_v1
token: ${{ secrets.SNOWFLAKE_GITHUB_TOKEN }} # stored in GitHub secrets
path: .
- 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 JIRA Ticket
id: create
uses: atlassian/[email protected]
with:
project: SNOW
issuetype: Bug
summary: ${{ github.event.issue.title }}
description: |
${{ github.event.issue.body }} \\ \\ _Created from GitHub Action_ for ${{ github.event.issue.html_url }}
# Assign triage-ml-platform-dl and set "Data Platform: ML Engineering" component.
fields: '{"customfield_11401":{"id":"14538"}, "assignee":{"id":"639020ab3c26ca7fa0d6eb3f"},"components":[{"id":"16520"}]}'
- name: Update GitHub Issue
uses: ./jira/gajira-issue-update
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
issue_number: '{{ event.issue.id }}'
owner: '{{ event.repository.owner.login }}'
name: '{{ event.repository.name }}'
jira: ${{ steps.create.outputs.issue }}