File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -30,14 +30,14 @@ jobs:
3030 if : " !contains(github.ref, '-')"
3131 env :
3232 GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
33- HUB : ' bin/hub api -HACCEPT:application/vnd.github.inertia-preview+json '
3433 PENDING_COLUMN : 8189733
3534 DONE_COLUMN : 7110130
3635 shell : bash
3736 run : |
3837 curl -fsSL https://github.com/github/hub/raw/master/script/get | bash -s 2.14.1
39- cards=$($HUB projects/columns/$PENDING_COLUMN/cards | jq "map(.id)|.[]")
40- for card in $cards; do $HUB projects/columns/cards/$card/moves --field position=top --field column_id=$DONE_COLUMN; done
38+ api() { bin/hub api -H 'accept: application/vnd.github.inertia-preview+json' "$@"; }
39+ cards=$(api projects/columns/$PENDING_COLUMN/cards | jq ".[].id")
40+ for card in $cards; do api projects/columns/cards/$card/moves --field position=top --field column_id=$DONE_COLUMN; done
4141 msi :
4242 needs : goreleaser
4343 runs-on : windows-latest
You can’t perform that action at this time.
0 commit comments