fix: ResumeAnalyzer missing “jobSkills” path in frontend #10
Workflow file for this run
This file contains hidden or 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: Auto Label NSOC'26 Pull Requests | |
| on: | |
| pull_request_target: | |
| types: | |
| - opened | |
| permissions: | |
| issues: write | |
| jobs: | |
| add-nsoc-label: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Add NSOC'26 label to new pull requests | |
| uses: actions/github-script@v7 | |
| with: | |
| script: | | |
| const labelName = "NSOC'26"; | |
| const labelColor = "f9d0c4"; | |
| const labelDescription = "PRs for the NSOC 2026 program"; | |
| const { owner, repo } = context.repo; | |
| const pullNumber = context.payload.pull_request.number; | |
| try { | |
| await github.rest.issues.getLabel({ | |
| owner, | |
| repo, | |
| name: labelName | |
| }); | |
| } catch (error) { | |
| if (error.status === 404) { | |
| await github.rest.issues.createLabel({ | |
| owner, | |
| repo, | |
| name: labelName, | |
| color: labelColor, | |
| description: labelDescription | |
| }); | |
| } else { | |
| throw error; | |
| } | |
| } | |
| const { data: currentLabels } = await github.rest.issues.listLabelsOnIssue({ | |
| owner, | |
| repo, | |
| issue_number: pullNumber | |
| }); | |
| const alreadyLabeled = currentLabels.some((label) => label.name === labelName); | |
| if (alreadyLabeled) { | |
| console.log(`Pull request #${pullNumber} already has label: ${labelName}`); | |
| return; | |
| } | |
| await github.rest.issues.addLabels({ | |
| owner, | |
| repo, | |
| issue_number: pullNumber, | |
| labels: [labelName] | |
| }); | |
| console.log(`Added label ${labelName} to pull request #${pullNumber}`); |