This repository was archived by the owner on May 15, 2021. It is now read-only.
File tree 2 files changed +74
-0
lines changed
2 files changed +74
-0
lines changed Original file line number Diff line number Diff line change 1
1
# Auto Cancel Redundant Workflow
2
2
3
+ ---
4
+
5
+ ** Please note:** This repository is currently unmaintained by a team of developers at GitHub. The
6
+ repository is here and you can use it as an example, or in Actions. However please be aware that
7
+ we are not going to be updating issues or pull requests on this repository.
8
+
9
+ ** 注意:** このリポジトリはもうメンテナンスされません。
10
+ 代わりに公式から提供されている [ concurrency] ( https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency ) を使用してください。
11
+
12
+ ### 移行例
13
+
14
+ ``` yaml
15
+ on : push
16
+ jobs :
17
+ test :
18
+ steps :
19
+ - uses : technote-space/auto-cancel-redundant-workflow@v1
20
+ - run : echo step1
21
+ - run : echo step2
22
+ # ...
23
+ ```
24
+
25
+ ↓
26
+
27
+ ``` yaml
28
+ on : push
29
+ concurrency :
30
+ group : ${{ github.workflow }}-${{ github.ref }}
31
+ # cancel-in-progress: true
32
+ jobs :
33
+ test :
34
+ steps :
35
+ - run : echo step1
36
+ - run : echo step2
37
+ # ...
38
+ ```
39
+
40
+ ---
41
+
3
42
[ ![ CI Status] ( https://github.com/technote-space/auto-cancel-redundant-workflow/workflows/CI/badge.svg )] ( https://github.com/technote-space/auto-cancel-redundant-workflow/actions )
4
43
[ ![ codecov] ( https://codecov.io/gh/technote-space/auto-cancel-redundant-workflow/branch/master/graph/badge.svg )] ( https://codecov.io/gh/technote-space/auto-cancel-redundant-workflow )
5
44
[ ![ CodeFactor] ( https://www.codefactor.io/repository/github/technote-space/auto-cancel-redundant-workflow/badge )] ( https://www.codefactor.io/repository/github/technote-space/auto-cancel-redundant-workflow )
Original file line number Diff line number Diff line change 1
1
# Auto Cancel Redundant Workflow
2
2
3
+ ---
4
+
5
+ ** Please note:** This repository is no longer maintained.
6
+ Please use the [ concurrency] ( https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency ) provided by the officials instead.
7
+
8
+ ### Example of migration
9
+
10
+ ``` yaml
11
+ on : push
12
+ jobs :
13
+ test :
14
+ steps :
15
+ - uses : technote-space/auto-cancel-redundant-workflow@v1
16
+ - run : echo step1
17
+ - run : echo step2
18
+ # ...
19
+ ```
20
+
21
+ ↓
22
+
23
+ ``` yaml
24
+ on : push
25
+ concurrency :
26
+ group : ${{ github.workflow }}-${{ github.ref }}
27
+ # cancel-in-progress: true
28
+ jobs :
29
+ test :
30
+ steps :
31
+ - run : echo step1
32
+ - run : echo step2
33
+ # ...
34
+ ```
35
+
36
+ ---
37
+
3
38
[ ![ CI Status] ( https://github.com/technote-space/auto-cancel-redundant-workflow/workflows/CI/badge.svg )] ( https://github.com/technote-space/auto-cancel-redundant-workflow/actions )
4
39
[ ![ codecov] ( https://codecov.io/gh/technote-space/auto-cancel-redundant-workflow/branch/master/graph/badge.svg )] ( https://codecov.io/gh/technote-space/auto-cancel-redundant-workflow )
5
40
[ ![ CodeFactor] ( https://www.codefactor.io/repository/github/technote-space/auto-cancel-redundant-workflow/badge )] ( https://www.codefactor.io/repository/github/technote-space/auto-cancel-redundant-workflow )
You can’t perform that action at this time.
0 commit comments