You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+18-6
Original file line number
Diff line number
Diff line change
@@ -20,13 +20,25 @@ jobs:
20
20
runs-on: ubuntu-latest
21
21
steps:
22
22
- name: Cancel Previous Runs
23
-
uses: styfle/cancel-workflow-action@0.10.0
23
+
uses: styfle/cancel-workflow-action
24
24
#- name: Run Tests
25
25
# uses: actions/setup-node@v1
26
26
# run: node test.js
27
27
# ... etc
28
28
```
29
29
30
+
### Versioning
31
+
32
+
It is recommended to pin a specific version of this action so you don't automatically upgrade to the latest which could introduce breaking changes.
33
+
34
+
```yml
35
+
uses: styfle/cancel-workflow-action@0.9.1
36
+
```
37
+
38
+
Notice there is no `v` prefix, just the `@major.minor.patch` version.
39
+
40
+
Visit [Releases](https://github.com/styfle/cancel-workflow-action/releases) to find the latest version at the top of the page.
41
+
30
42
### Advanced: Canceling Other Workflows
31
43
32
44
In some cases, you may wish to avoid modifying all your workflows and instead create a new workflow that cancels your other workflows. This can be useful when you have a problem with workflows getting queued.
0 commit comments