forked from hackforla/website
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PBB migration "Move Closed Issues" (hackforla#7056)
* Update move-closed-issues.yaml for migration to PBB * Update sort-closed-issues.js
- Loading branch information
1 parent
5f683ba
commit 4b04305
Showing
2 changed files
with
26 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,9 @@ on: | |
issues: | ||
types: | ||
- closed | ||
|
||
jobs: | ||
move-closed-issue: | ||
Move-Closed-Issues: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -17,8 +18,9 @@ jobs: | |
const sortIssues = script({context}) | ||
return sortIssues | ||
result-encoding: string | ||
- uses: alex-page/[email protected] | ||
with: | ||
project: Project Board | ||
column: ${{ steps.sort-closed-issues.outputs.result }} | ||
repo-token: ${{ secrets.HACKFORLA_BOT_PA_TOKEN }} | ||
|
||
# Post-migration to Projects Beta: | ||
# Move-Closed-Issues to "QA" column by default; OR move to "Done" based on `sort-closed-issues.js` | ||
- name: Move Closed Issues | ||
run: echo "Based on its labels, issue should be sorted to 'status' of '${{ steps.sort-closed-issues.outputs.result }}'" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters