Skip to content
This repository was archived by the owner on May 15, 2021. It is now read-only.

Commit 8ebb27b

Browse files
docs: add migration guide
1 parent 15c4314 commit 8ebb27b

File tree

2 files changed

+74
-0
lines changed

2 files changed

+74
-0
lines changed

Diff for: README.ja.md

+39
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,44 @@
11
# Auto Cancel Redundant Workflow
22

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+
342
[![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)
443
[![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)
544
[![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)

Diff for: README.md

+35
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,40 @@
11
# Auto Cancel Redundant Workflow
22

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+
338
[![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)
439
[![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)
540
[![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)

0 commit comments

Comments
 (0)