28 lines
841 B
YAML
28 lines
841 B
YAML
name: Release Management
|
|
|
|
on:
|
|
# push:
|
|
# # branches to consider in the event; optional, defaults to all
|
|
# branches:
|
|
# - master
|
|
# pull_request event is required only for autolabeler
|
|
pull_request:
|
|
# Only following types are handled by the action, but one can default to all as well
|
|
types: [opened, reopened, synchronize, labeled, unlabeled]
|
|
|
|
jobs:
|
|
update_release_draft:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
# Drafts your next Release notes
|
|
- uses: release-drafter/release-drafter@v5
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- uses: act10ns/slack@v1
|
|
with:
|
|
status: ${{ job.status }}
|
|
channel: $SLACK_CI_CHANNEL
|
|
env:
|
|
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
|
SLACK_CI_CHANNEL: ${{ secrets.SLACK_CI_CHANNEL }} |