feat: 测试自动更新yt-dlp版本 #118
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: update_release_draft.yml | |
on: | |
# push: | |
# branches: | |
# - main | |
pull_request: | |
types: [opened, reopened, synchronize] | |
permissions: | |
contents: write | |
packages: write | |
jobs: | |
#更新草稿 | |
update_release_draft: | |
permissions: | |
contents: write # for release-drafter/release-drafter to create a github release | |
pull-requests: write # for release-drafter/release-drafter to add label to PR | |
runs-on: ubuntu-latest | |
steps: | |
- uses: release-drafter/release-drafter@v6 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |