fix(permit): improve permittable detection #766
Workflow file for this run
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: Kanban flow (in progress) | |
on: | |
pull_request: | |
types: | |
- opened | |
- converted_to_draft | |
jobs: | |
automate-project-columns: | |
if: github.event.pull_request.draft == true | |
runs-on: ubuntu-latest | |
steps: | |
- name: Find Linked Issues | |
id: links | |
uses: hossainemruz/linked-issues@main | |
continue-on-error: true | |
with: | |
pr_url: ${{github.event.pull_request.html_url}} | |
format: IssueNumber | |
- name: Move issue to In progress status | |
if: ${{ steps.links.outputs.issues != '' }} | |
run: > | |
curl 'https://api.zenhub.com/p2/workspaces/6246bc1e8d5e5b0010c77c74/repositories/475419392/issues/${{ steps.links.outputs.issues }}/moves' \ | |
-H 'content-type: application/json' \ | |
-H 'x-authentication-token: ${{ secrets.ZENHUB_API_TOKEN }}' \ | |
--data-raw '{"pipeline_id":"Z2lkOi8vcmFwdG9yL1BpcGVsaW5lLzI5NDkzNDU","position":"top"}' \ | |
--compressed |