Presubmission Inquiry for property-utils #5
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
name: update-project | |
on: | |
issues: | |
types: | |
- labeled | |
jobs: | |
update-issue-column: | |
runs-on: ubuntu-latest | |
permissions: | |
repository-projects: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Get column name | |
id: get-column-name | |
run: | | |
value=$(jq -r .labelToColumn.\"${{ github.event.label.name }}\" update-project.json) | |
echo "name=$value" >>$GITHUB_OUTPUT | |
echo "Column Name: $value" | |
- name: Move issue to column | |
if: ${{ steps.get-column-name.outputs.name != 'null' }} | |
uses: alex-page/[email protected] | |
with: | |
project: peer-review-status | |
column: ${{ steps.get-column-name.outputs.name }} | |
repo-token: ${{ secrets.GHPROJECT_TOKEN }} |