From 22263196c063376ceb450d95b286ae4da1a01981 Mon Sep 17 00:00:00 2001 From: Mustafa Ozhan Date: Tue, 28 Nov 2023 15:28:10 +0100 Subject: [PATCH] [SubMob/LogMob#96] Move project synchronisation to Oztechan --- .github/workflows/board.yml | 30 +++++------------------------- 1 file changed, 5 insertions(+), 25 deletions(-) diff --git a/.github/workflows/board.yml b/.github/workflows/board.yml index 24a5c4f..2dde6b3 100644 --- a/.github/workflows/board.yml +++ b/.github/workflows/board.yml @@ -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 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/project-beta-automations@v2.2.1 - 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 to "✅ Done"' - if: (github.event_name == 'pull_request' || github.event_name == 'issues') && - github.event.action == 'closed' - uses: leonsteinhaeuser/project-beta-automations@v2.2.1 - 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