Skip to content

Commit

Permalink
ci: refactor main.ts and update ci.yml config
Browse files Browse the repository at this point in the history
  • Loading branch information
IKatsuba committed Dec 12, 2023
1 parent 9824658 commit 38f6dc5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ jobs:
uses: ./
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
in-review-column-id: df73e18b
in-review-column-id: PVT_kwDOCK6Lgc4AZflL
6 changes: 3 additions & 3 deletions src/implemetation/add-pr-to-the-project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ export async function addPrToTheProject(): Promise<void> {

await getOctokit().graphql(
`
mutation ($columnId: ID!, $cardId: ID!) {
addProjectCard(input: {projectColumnId: $columnId, contentId: $cardId}) {
mutation ($projectId: ID!, $contentId: ID!) {
addProjectV2ItemById(input: {contentId: $contentId, projectId: $projectId,}) {
clientMutationId
}
}
`,
{
columnId,
projectId: columnId,
contentId: context.issue.number,
},
);
Expand Down

0 comments on commit 38f6dc5

Please sign in to comment.