Skip to content

Commit

Permalink
[FR] DRAFT Release Workflow on PR Merge (#4253)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikaayenson authored Nov 6, 2024
1 parent a92fdc1 commit c1ac8f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/version-code-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,7 @@ on:
- 'detection_rules/**'
- 'tests/**'
- '**/*.md'
types: [opened, reopened, synchronize, labeled]
push:
branches:
- main
paths:
- 'pyproject.toml'
types: [opened, reopened, synchronize, labeled, closed]

permissions:
contents: read
Expand Down Expand Up @@ -70,7 +65,7 @@ jobs:
fi
release_drafter:
if: github.ref == 'refs/heads/main'
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
permissions:
contents: write
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "detection_rules"
version = "0.2.1"
version = "0.2.2"
description = "Detection Rules is the home for rules used by Elastic Security. This repository is used for the development, maintenance, testing, validation, and release of rules for Elastic Security’s Detection Engine."
readme = "README.md"
requires-python = ">=3.12"
Expand Down

0 comments on commit c1ac8f0

Please sign in to comment.