File tree Expand file tree Collapse file tree 2 files changed +20
-2
lines changed
Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change 1+ name : Add latest tag to new release
2+ on :
3+ release :
4+ types : [published]
5+
6+ jobs :
7+ run :
8+ name : Add/update tag to new release
9+ runs-on : ubuntu-latest
10+
11+ steps :
12+ - name : Checkout repository
13+ uses : actions/checkout@master
14+
15+ - name : Run latest-tag
16+ uses : EndBug/latest-tag@latest
17+ env :
18+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ Add a step like this to your workflow:
1111
1212``` yaml
1313- name : Commit changes # This is the step name that will be displayed in your runs
14- uses : EndBug/add-and-commit@v1.0.0 # You can change this to use a specific version
14+ uses : EndBug/add-and-commit@latest # You can change this to use a specific version
1515 with : # See more info about inputs below
1616 author_name : Your Name
1717 author_email : mail@example.com
6161 run: eslint "src/**" --fix
6262
6363 - name: Commit changes
64- uses: EndBug/add-and-commit@v1.0.0
64+ uses: EndBug/add-and-commit@latest
6565 with:
6666 author_name: Your Name
6767 author_email: mail@example.com
You can’t perform that action at this time.
0 commit comments