From 25b1072e6989f076cfebf162ba7109fcde126aa6 Mon Sep 17 00:00:00 2001 From: Steven Date: Fri, 13 Jan 2023 19:21:54 -0500 Subject: [PATCH] chore(docs): simplify readme warning --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 211a92f0..bf405efc 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,13 @@ > **Warning** -> 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. -> -> You probably don't need this custom action. Instead, use the native behavior by adding this to your workflow yaml: +> You probably don't need to install this custom action. +> +> 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: > ``` > concurrency: > group: ${{ github.workflow }}-${{ github.ref }} > cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} > ``` -> Read the [official documentation](https://docs.github.com/en/actions/using-jobs/using-concurrency) to learn more. +> Read GitHub's [official documentation](https://docs.github.com/en/actions/using-jobs/using-concurrency) to learn more. # Cancel Workflow Action