Skip to content

[STORY] create the session label using patientID and study date with four underscore between them. #118

[STORY] create the session label using patientID and study date with four underscore between them.

[STORY] create the session label using patientID and study date with four underscore between them. #118

name: "On Opening Issue"
on:
issues:
types: [opened, reopened]
env:
AIS_PROJECT_URL: ${{ secrets.AIS_PROJECT_URL }}
jobs:
initalise-epic-or-feature:
if: startsWith(github.event.issue.title, '[EPIC]') || startsWith(github.event.issue.title, '[FEATURE]')
uses: ./.github/workflows/create-initial-lists.yml
add-labels:
if: ${{ always() }}
needs: initalise-epic-or-feature
name: Add labels to issue
runs-on: ubuntu-latest
steps:
- name: Label epic
if: startsWith(github.event.issue.title, '[EPIC]')
uses: andymckay/labeler@master
with:
add-labels: "pipelines, epic"
- name: Label feature
if: startsWith(github.event.issue.title, '[FEATURE]')
uses: andymckay/labeler@master
with:
add-labels: "pipelines, feature"
- name: Label story
if: startsWith(github.event.issue.title, '[STORY]')
uses: andymckay/labeler@master
with:
add-labels: "pipelines, story"
add-to-project:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- name: Assign issues to the AIS project
if: env.AIS_PROJECT_URL != ''
uses: actions/[email protected]
with:
project-url: ${{ secrets.AIS_PROJECT_URL }}
github-token: ${{ secrets.AIS_ADMIN_KEY }}