upon release move Pending Release project cards into Done column
This commit is contained in:
parent
704ce311ca
commit
cc9f58afee
1 changed files with 16 additions and 0 deletions
16
.github/workflows/releases.yml
vendored
16
.github/workflows/releases.yml
vendored
|
|
@ -26,6 +26,22 @@ jobs:
|
|||
args: release --release-notes=CHANGELOG.md
|
||||
env:
|
||||
GITHUB_TOKEN: ${{secrets.UPLOAD_GITHUB_TOKEN}}
|
||||
cards:
|
||||
needs: goreleaser
|
||||
runs-on: ubuntu-latest
|
||||
if: ${!contains(github.ref, "-")}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||
HUB: 'bin/hub api -HACCEPT:application/vnd.github.inertia-preview+json '
|
||||
PENDING_COLUMN: 8189733
|
||||
DONE_COLUMN: 7110130
|
||||
steps:
|
||||
- name: move cards
|
||||
shell: bash
|
||||
run: |
|
||||
curl -fsSL https://github.com/github/hub/raw/master/script/get | bash -s 2.14.1
|
||||
cards=$($HUB projects/columns/$PENDING_COLUMN/cards | jq "map(.id)|.[]")
|
||||
for card in $cards; do $HUB projects/columns/cards/$card/moves --field position=top --field column_id=$DONE_COLUMN; done
|
||||
msi:
|
||||
needs: goreleaser
|
||||
runs-on: windows-latest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue