Skip to content

Commit 531b15c

Browse files
committed
Fix pr automation workflow
1 parent 8d3e910 commit 531b15c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/prauto.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ jobs:
3232
columns(first:10) { nodes {id,name} }
3333
}
3434
}
35-
}' -F owner=:owner -F repo=:repo \
35+
}' -f owner="${GH_REPO%/*}" -f repo="${GH_REPO#*/}" \
3636
-q ".data.repository.project.columns.nodes[] | select(.name | startswith(\"$1\")) | .id"
3737
}
3838
3939
addToBoard () {
4040
gh api graphql --silent -f query='
41-
mutation($colID:ID!, $pr:ID!) { addProjectCard(input: { projectColumnId: $colID, contentId: $prID }) { clientMutationId } }
41+
mutation($colID:ID!, $prID:ID!) { addProjectCard(input: { projectColumnId: $colID, contentId: $prID }) { clientMutationId } }
4242
' -f colID="$(colID "Needs review")" -f prID="$PRID"
4343
}
4444

0 commit comments

Comments
 (0)