Skip to content

Commit

Permalink
Merge pull request #59 from vegaprotocol/fix-project-management-GH-ac…
Browse files Browse the repository at this point in the history
…tion

fix: project management GH action
  • Loading branch information
gordsport authored Oct 11, 2022
2 parents 98e8975 + 4e01b61 commit 420d163
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/project_management.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
name: 'Project Board Automation'

"on":
pull_request:
pull_request_target:
branches: [main]
types: [synchronize, opened, reopened, labeled, unlabeled, ready_for_review, review_requested, converted_to_draft, closed]
pull_request_target:
pull_request:
branches: [main]
types: [synchronize, opened, reopened, labeled, unlabeled, ready_for_review, review_requested, converted_to_draft, closed]
pull_request_review:
Expand All @@ -29,6 +29,10 @@ env:
DONE_COLUMN_NAME: '"Done"'
ITERATION_FIELD_NAME: 'Sprint' # See project settings (default is `Iteration`)

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
project-board-automation:
name: 'Linked Issues & Project Board Automation'
Expand All @@ -44,7 +48,7 @@ jobs:
- name: 'Get linked issue id and state'
id: linked-issue
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_NEW_CARD_TO_PROJECT }}
run: |
gh api graphql -f query='
query($pr_url: URI!) {
Expand Down

0 comments on commit 420d163

Please sign in to comment.