Skip to content

Commit

Permalink
[#92] Move project synchronisation to Oztechan
Browse files Browse the repository at this point in the history
  • Loading branch information
mustafaozhan committed Nov 28, 2023
1 parent b03ece2 commit 0e1a02f
Showing 1 changed file with 5 additions and 25 deletions.
30 changes: 5 additions & 25 deletions .github/workflows/board.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,37 +4,17 @@ on:
types:
- opened
- reopened
- closed
pull_request:
types:
- opened
- ready_for_review
- reopened
- review_requested
- closed
- converted_to_draft

jobs:
ProjectAutomations:
runs-on: ubuntu-latest
steps:
- name: 'Move PR to "📖 To do"'
if: (github.event_name == 'pull_request' || github.event_name == 'issues') &&
(github.event.action == 'opened' || github.event.action == 'reopened' || github.event.action == 'ready_for_review' || github.event_name == 'pull_request' && github.event.action == 'converted_to_draft')
uses: leonsteinhaeuser/[email protected]
with:
gh_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
organization: SubMob
project_id: 1
resource_node_id: ${{ github.event.pull_request.node_id }}
status_value: "📖 To do"

- name: 'Move PR to "✅ Done"'
if: (github.event_name == 'pull_request' || github.event_name == 'issues') &&
github.event.action == 'closed'
uses: leonsteinhaeuser/[email protected]
with:
gh_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
organization: SubMob
project_id: 1
resource_node_id: ${{ github.event.pull_request.node_id }}
status_value: "✅ Done"
uses: Oztechan/Global/.github/workflows/project-reusable.yml@bf9138c8831500b721597822e6edf51b30423bf3
with:
project_id: 8
secrets: inherit

0 comments on commit 0e1a02f

Please sign in to comment.