Skip to content

Carving depression at its joints? Psychometric properties of the Sydney Melancholia Prototype Index #88

Carving depression at its joints? Psychometric properties of the Sydney Melancholia Prototype Index

Carving depression at its joints? Psychometric properties of the Sydney Melancholia Prototype Index #88

Workflow file for this run

name: Add Issue to "To-Do" Status on Label
on:
issues:
types:
- opened
- labeled
jobs:
add-to-todo:
runs-on: ubuntu-latest
steps:
- name: Check if Issue Has "data queue" Label
id: check_label
uses: actions/github-script@v6
with:
script: |
const labelName = context.payload.label ? context.payload.label.name : null;
const issueLabels = context.payload.issue.labels.map(label => label.name);
return labelName === 'data queue' || issueLabels.includes('data queue');
- name: Update Project Item Status to "To-Do"
if: steps.check_label.outputs.result == 'true'
uses: nipe0324/[email protected]
with:
project-url: https://github.com/users/ben-domingue/projects/1
github-token: ${{ secrets.PROJECTS_TEST }}
field-name: Status
field-value: Todo