chore(deps): update toshimaru/auto-author-assign action to v1.6.2 #12
Workflow file for this run
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 | |
pull_request: | |
types: [opened, reopened, synchronize] | |
permissions: | |
contents: read | |
jobs: | |
update_release_draft: | |
permissions: | |
contents: write | |
pull-requests: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: Generate CalVer version | |
id: calver | |
run: | | |
export VERSION="$(date "+%y.%-m").0" | |
echo ::set-output name=version::${VERSION} | |
echo "Version set to ${VERSION}" | |
- uses: release-drafter/release-drafter@v5 | |
with: | |
tag: ${{ steps.calver.outputs.version }} | |
name: ${{ steps.calver.outputs.version }} | |
version: ${{ steps.calver.outputs.version }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |