Do not move elements during a drag and drop until the mouse is released, use a drop element instead #689
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: Add to HTO project | |
on: | |
issues: | |
types: | |
- opened | |
- transferred | |
pull_request: | |
types: | |
- opened | |
jobs: | |
add-to-project: | |
name: Add issue to project | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/add-to-project@0008229a2277e5f9299b5d1f06272b00d09342f8 | |
name: Add to project | |
id: add-project | |
with: | |
project-url: ${{ secrets.HTO_PROJECT_URL }} | |
github-token: ${{ secrets.ADD_TO_HTO_PROJECT_PAT }} | |
- name: Define project column | |
run: echo "COLUMN=${{ github.event_name == 'pull_request' && 'Needs Review' || 'Inbox' }}" >> $GITHUB_ENV | |
- uses: titoportas/update-project-fields@421a54430b3cdc9eefd8f14f9ce0142ab7678751 | |
name: Update project column | |
id: update-column | |
with: | |
project-url: ${{ secrets.HTO_PROJECT_URL }} | |
github-token: ${{ secrets.ADD_TO_HTO_PROJECT_PAT }} | |
item-id: ${{ steps.add-project.outputs.itemId }} | |
field-keys: Status | |
field-values: ${{ env.COLUMN }} |