From b374c93f6d656c75248cbf9140dfa2d3010bd9e6 Mon Sep 17 00:00:00 2001 From: Jacques Yakoub Date: Thu, 29 Aug 2024 07:07:59 +0200 Subject: [PATCH] Update issuesAutomatedTasks.yml --- .github/workflows/issuesAutomatedTasks.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/issuesAutomatedTasks.yml b/.github/workflows/issuesAutomatedTasks.yml index 53ac23f6..e730374d 100644 --- a/.github/workflows/issuesAutomatedTasks.yml +++ b/.github/workflows/issuesAutomatedTasks.yml @@ -16,11 +16,11 @@ jobs: name: 🔍 Scan issue type env: ISSUE_TYPE: ${{ - contains(github.event.issue.labels.*.name, 'ADD_GAME') && 'ADD_GAME' || - contains(github.event.issue.labels.*.name, 'UPDATE_GAME') && 'UPDATE_GAME' || - contains(github.event.issue.labels.*.name, 'DELETE_GAME') && 'DELETE_GAME' || - contains(github.event.issue.labels.*.name, 'ADD_BACKLOG') && 'ADD_BACKLOG' || - contains(github.event.issue.labels.*.name, 'DELETE_BACKLOG') && 'DELETE_BACKLOG' || + contains(github.event.issue.labels.*.name, '[ADD_GAME]') && 'ADD_GAME' || + contains(github.event.issue.labels.*.name, '[UPDATE_GAME]') && 'UPDATE_GAME' || + contains(github.event.issue.labels.*.name, '[DELETE_GAME]') && 'DELETE_GAME' || + contains(github.event.issue.labels.*.name, '[ADD_BACKLOG]') && 'ADD_BACKLOG' || + contains(github.event.issue.labels.*.name, '[DELETE_BACKLOG]') && 'DELETE_BACKLOG' || 'UNKNOWN' }} run: echo "issue_type=${{ env.ISSUE_TYPE }}" >> $GITHUB_OUTPUT - id: set_template_file