Merge pull request #4 from mrzcpoGit/master #51
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
# 下面是一个基础的工作流,你可以基于它来编写自己的 Github Actions | |
name: auto_tag | |
# 控制工作流何时运行 | |
on: | |
push: | |
branches: [ master ] | |
workflow_dispatch: | |
#权限 | |
permissions: | |
contents: write | |
# 工作流由一个或多个作业( job )组成,这些作业可以顺序运行也可以并行运行 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- uses: duolabmeng6/action-autotag-python@master | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} # 需要用自己的秘钥 |