Update Project Profile: LA TDM Calculator Remove Anousha Shadrach #3408
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: Move Closed Issues | |
on: | |
issues: | |
types: | |
- closed | |
jobs: | |
Move-Closed-Issues: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# 1: Sort closed issues based on labels | |
- name: Sort Closed Issues by Label | |
uses: actions/github-script@v7 | |
id: sort-closed-issues | |
with: | |
script: | | |
const script = require('./github-actions/move-closed-issues/sort-closed-issues.js'); | |
const sortIssues = script({context}); | |
return sortIssues; | |
result-encoding: string | |
# 2: Move closed issues | |
- name: Move Closed Issue | |
uses: actions/github-script@v7 | |
id: move-closed-issue | |
with: | |
github-token: ${{ secrets.HACKFORLA_GRAPHQL_TOKEN }} | |
script: | | |
const results = '${{ steps.sort-closed-issues.outputs.result }}'; | |
const script = require('./github-actions/move-closed-issues/move-closed-issues.js'); | |
script({github, context}, results); |