From 1da11d47fbed13b0fc5b188d47fedb2c06904f66 Mon Sep 17 00:00:00 2001 From: Sylvain <59280694+sylvain-combe-sonarsource@users.noreply.github.com> Date: Mon, 7 Nov 2022 09:04:52 +0100 Subject: [PATCH] Update README.md Users unfamiliar with GitHub actions just copy the pipeline snippets and wonder why the analysis does not trigger. Let's make sure it does. --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0b9265f..ae08816 100644 --- a/README.md +++ b/README.md @@ -28,11 +28,13 @@ The workflow YAML file will usually look something like this: ```yaml on: - # Trigger analysis when pushing in master or pull requests, and when creating - # a pull request. + # Trigger analysis when pushing to your main branches, and when creating a pull request. push: branches: + - main - master + - develop + - 'releases/**' pull_request: types: [opened, synchronize, reopened]