From 650ee540d49bf593a337b262ea7e27085ae15bd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20Falc=C3=A3o?= Date: Tue, 16 Jan 2024 06:23:09 +0000 Subject: [PATCH] github actions: tightens-up security --- .github/workflows/pythonapp.yml | 4 ++-- tests/functional/loader/fake_packages/unsure/gawk/clanging.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index fda0840..03c808b 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -2,11 +2,11 @@ name: Sure Tests on: push: branches: - - master - - runner + - '*' jobs: python: + if: github.event.pull_request.user.login == 'gabrielfalcao' name: "Python" runs-on: ubuntu-latest strategy: diff --git a/tests/functional/loader/fake_packages/unsure/gawk/clanging.py b/tests/functional/loader/fake_packages/unsure/gawk/clanging.py index f6887b3..f926dd6 100644 --- a/tests/functional/loader/fake_packages/unsure/gawk/clanging.py +++ b/tests/functional/loader/fake_packages/unsure/gawk/clanging.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) <2010-2024> Gabriel Falcão # @@ -14,4 +13,5 @@ # # You should have received a copy of the GNU General Public License # along with this program. If not, see . -im port sure +import this +im port sure == apophasis