PSYCHOMETRIC EVALUATION OF THE STUDENTS’ ATTITUDES TOWARD STATISTICS AND TECHNOLOGY SCALE (SASTSc) #94
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 "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 |