[FR] DRAFT Release Workflow on PR Merge (#4253)

This commit is contained in:
Mika Ayenson
2024-11-06 15:36:09 -06:00
committed by GitHub
parent a92fdc18a1
commit c1ac8f0fae
2 changed files with 3 additions and 8 deletions
@@ -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
@@ -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