From a7cc15cb4d28e340320cf22e90964c87c5425967 Mon Sep 17 00:00:00 2001 From: Shashank K S Date: Mon, 1 Jul 2024 22:27:33 +0530 Subject: [PATCH] Manual testing --- .github/workflows/kibana-mitre-update.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/kibana-mitre-update.yml b/.github/workflows/kibana-mitre-update.yml index a82a190b193..4aa77846a4c 100644 --- a/.github/workflows/kibana-mitre-update.yml +++ b/.github/workflows/kibana-mitre-update.yml @@ -1,10 +1,15 @@ name: Check MITRE ATT&CK Version Updates Are Synced on: - pull_request_target: - types: [assigned, opened, synchronize, reopened] + workflow_dispatch: + inputs: + branches: + description: 'List of branches to lock versions (ordered, comma separated)' + required: true + default: 'issue-3100' + pull_request: paths: - - 'detection_rules/etc/attack-v*.json.gz' + - 'detection_rules/etc/attack-v*.json.gz' jobs: create_issue: @@ -28,7 +33,7 @@ jobs: curl -X POST \ -H "Authorization: token ${{ secrets.PROTECTIONS_MACHINE_TOKEN }}" \ -H "Accept: application/vnd.github.v3+json" \ - https://api.github.com/repos/elastic/detection-rules/issues \ + https://api.github.com/repos/elastic/kibana/issues \ -d '{ "title": "'"$ISSUE_TITLE"'", "body": "'"$ISSUE_BODY"'"