Skip to content

Commit

Permalink
Manual testing
Browse files Browse the repository at this point in the history
  • Loading branch information
shashank-elastic committed Jul 1, 2024
1 parent ee691ef commit a7cc15c
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/kibana-mitre-update.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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"'"
Expand Down

0 comments on commit a7cc15c

Please sign in to comment.