Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ipdae patch 8 #6698

Merged
merged 13 commits into from
Jan 9, 2025
13 changes: 7 additions & 6 deletions .github/workflows/check-qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,20 @@ name: Update Assignee on Project Status Change

on:
workflow_dispatch: # 수동으로 실행 가능

env:
GH_TOKEN: ${{ secrets.PROJECTS_PAT }}
ACTIONS_STEP_DEBUG: true
ACTIONS_RUNNER_DEBUG: true
jobs:
check-project-status:
permissions: write-all
runs-on: ubuntu-latest
steps:
- name: Fetch items in QA column
id: fetch_items
uses: actions/github-script@v6
with:
github-token: ${{ secrets.PROJECTS_PAT }}
script: |
const query = `
query($org: String!) {
Expand All @@ -37,7 +42,7 @@ jobs:
}
}
`;

const variables = {
org: "planetarium"
};
Expand All @@ -54,9 +59,6 @@ jobs:

// Return issue numbers in QA
return itemsInQA.map(item => item.content.number);
env:
GITHUB_TOKEN: ${{ secrets.PROJECTS_PAT }}
ACTIONS_STEP_DEBUG: true
- name: Add assignee to issues in QA
if: steps.fetch_items.outputs.result != '[]'
uses: actions/github-script@v6
Expand All @@ -73,4 +75,3 @@ jobs:
}
env:
ISSUE_NUMBERS: ${{ steps.fetch_items.outputs.result }}
GH_TOKEN: ${{ secrets.PROJECTS_PAT }}