We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d3e910 commit 531b15cCopy full SHA for 531b15c
1 file changed
.github/workflows/prauto.yml
@@ -32,13 +32,13 @@ jobs:
32
columns(first:10) { nodes {id,name} }
33
}
34
35
- }' -F owner=:owner -F repo=:repo \
+ }' -f owner="${GH_REPO%/*}" -f repo="${GH_REPO#*/}" \
36
-q ".data.repository.project.columns.nodes[] | select(.name | startswith(\"$1\")) | .id"
37
38
39
addToBoard () {
40
gh api graphql --silent -f query='
41
- mutation($colID:ID!, $pr:ID!) { addProjectCard(input: { projectColumnId: $colID, contentId: $prID }) { clientMutationId } }
+ mutation($colID:ID!, $prID:ID!) { addProjectCard(input: { projectColumnId: $colID, contentId: $prID }) { clientMutationId } }
42
' -f colID="$(colID "Needs review")" -f prID="$PRID"
43
44
0 commit comments