Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

Update cosmos

Update cosmos #100

name: Release Drafter
on:
# For creating draft releases
push:
branches:
- main
# For autolabeling PRs
pull_request:
types: [ synchronize, opened, reopened, ready_for_review, converted_to_draft ]
# For autolabeling PRs from forks
pull_request_target:
types: [ synchronize, opened, reopened, ready_for_review ]
# For manually running the autolabeler
workflow_dispatch:
permissions:
contents: read
jobs:
update_release_draft:
name: Update Release Draft
permissions:
# write permission is required to create a github release
contents: write
# write permission is required for autolabeler
# otherwise, read permission is required at least
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v5
with:
# Allows the auto-labeler to run without adding unmerged PRs to the draft
disable-releaser: ${{ github.ref_name != 'main' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}