From 3d62588c2986b52e3392e68cd24d33962da19641 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20Falc=C3=A3o?= Date: Tue, 16 Jan 2024 06:30:55 +0000 Subject: [PATCH] github actions: restrict execution to a specific branch-pattern ruleset --- .github/workflows/pythonapp.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index c70bab9..5218df4 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -2,11 +2,12 @@ name: Sure Tests on: push: branches: - - '*' + - runner + - master + - 3.0* jobs: python: - if: github.event.push.user.login == 'gabrielfalcao' name: "Python" runs-on: ubuntu-latest strategy: