Restore retire workers API (#8939) #164
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Drafter | |
on: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: read | |
jobs: | |
update_release_draft: | |
if: github.repository == 'dask/distributed' | |
permissions: | |
# Write permission is required to create a GitHub release | |
contents: write | |
pull-requests: read | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # Required to get tag history | |
- name: Check if release commit | |
id: check_release_commit | |
run: git describe --exact-match --tags $(git rev-parse HEAD) | |
continue-on-error: true | |
- uses: release-drafter/release-drafter@v6 | |
if: steps.check_release_commit.outcome != 'success' | |
with: | |
disable-autolabeler: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |