The 10-Item Version Singelis’s Self-Construal Scale (SCS-Short Version) for Korean Adults: Psychometric Properties, Measurement Invariance with European Americans, and Associations with Social Anxiety #54
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: Add Issue to Project and Update Status | |
on: | |
issues: | |
types: | |
- labeled | |
- assigned | |
jobs: | |
process-issue: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check if Issue Has "data" Label and an Assignee | |
id: check_conditions | |
uses: actions/github-script@v6 | |
with: | |
script: | | |
const issue = context.payload.issue; | |
const hasDataLabel = issue.labels.some(label => label.name === 'data queue'); | |
const hasAssignee = issue.assignees.length > 0; | |
return hasDataLabel && hasAssignee; | |
- name: Add Issue to Project | |
if: steps.check_conditions.outputs.result == 'true' | |
id: add_to_project | |
uses: actions/[email protected] | |
with: | |
project-url: https://github.com/users/ben-domingue/projects/1 | |
github-token: ${{ secrets.PROJECTS_TEST }} | |
- name: Update Project Item Status to "In Progress" | |
if: steps.check_conditions.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: In Progress |