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:
11
11
12
12
``` yaml
13
13
- 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
15
15
with : # See more info about inputs below
16
16
author_name : Your Name
17
17
61
61
run: eslint "src/**" --fix
62
62
63
63
- name: Commit changes
64
- uses: EndBug/add-and-commit@v1.0.0
64
+ uses: EndBug/add-and-commit@latest
65
65
with:
66
66
author_name: Your Name
67
67
You can’t perform that action at this time.
0 commit comments