Skip to content

Commit 25b1072

Browse files
authoredJan 14, 2023
chore(docs): simplify readme warning
1 parent 3b7e3bd commit 25b1072

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
> **Warning**
2-
> In April 2021, GitHub [announced](https://github.blog/changelog/2021-04-19-github-actions-limit-workflow-run-or-job-concurrency/) native support for canceling workflows.
3-
>
4-
> You probably don't need this custom action. Instead, use the native behavior by adding this to your workflow yaml:
2+
> You probably don't need to install this custom action.
3+
>
4+
> Instead, use the native [concurrency](https://github.blog/changelog/2021-04-19-github-actions-limit-workflow-run-or-job-concurrency/) property to cancel workflows, for example:
55
> ```
66
> concurrency:
77
> group: ${{ github.workflow }}-${{ github.ref }}
88
> cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
99
> ```
10-
> Read the [official documentation](https://docs.github.com/en/actions/using-jobs/using-concurrency) to learn more.
10+
> Read GitHub's [official documentation](https://docs.github.com/en/actions/using-jobs/using-concurrency) to learn more.
1111
1212
# Cancel Workflow Action
1313

0 commit comments

Comments
 (0)
Please sign in to comment.