From 508fa5ba4b5854c3b2360f65c789eaec1fc5ab0d Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 21 May 2022 02:41:40 +0000 Subject: [PATCH 1/6] fix: requirements.txt to reduce vulnerabilities The following vulnerabilities are fixed by pinning transitive dependencies: - https://snyk.io/vuln/SNYK-PYTHON-PYJWT-2840625 --- requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements.txt b/requirements.txt index 0460963..2c6a476 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ selenium PyGithub python-dotenv +pyjwt>=2.4.0 # not directly required, pinned by Snyk to avoid a vulnerability From 31ed7b574dec4a1669151c7f274d09080cfc240c Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 21 May 2022 07:15:17 +0000 Subject: [PATCH 2/6] fix: windows_OS/requirements.txt to reduce vulnerabilities The following vulnerabilities are fixed by pinning transitive dependencies: - https://snyk.io/vuln/SNYK-PYTHON-PYJWT-2840625 --- windows_OS/requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/windows_OS/requirements.txt b/windows_OS/requirements.txt index b393fb0..913a168 100644 --- a/windows_OS/requirements.txt +++ b/windows_OS/requirements.txt @@ -1 +1,2 @@ -PyGithub \ No newline at end of file +PyGithub +pyjwt>=2.4.0 # not directly required, pinned by Snyk to avoid a vulnerability \ No newline at end of file From 62191ad34dc8379711206519c322272cb2314018 Mon Sep 17 00:00:00 2001 From: Sebastian Schemer Date: Thu, 18 Jan 2024 12:48:38 +0100 Subject: [PATCH 3/6] Updated two requirement files --- requirements.txt | 7 +++---- windows_OS/requirements.txt | 3 +-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/requirements.txt b/requirements.txt index 2c6a476..37ae26b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,3 @@ -selenium -PyGithub -python-dotenv -pyjwt>=2.4.0 # not directly required, pinned by Snyk to avoid a vulnerability +PyGithub==1.58.1 +python-dotenv==1.0.0 +selenium==4.8.2 diff --git a/windows_OS/requirements.txt b/windows_OS/requirements.txt index 913a168..b3b9def 100644 --- a/windows_OS/requirements.txt +++ b/windows_OS/requirements.txt @@ -1,2 +1 @@ -PyGithub -pyjwt>=2.4.0 # not directly required, pinned by Snyk to avoid a vulnerability \ No newline at end of file +PyGithub==1.58.1 From 5944b838bfadea2b1de6ef9d4f9cfbcd48198b47 Mon Sep 17 00:00:00 2001 From: Sebastian Schemer Date: Thu, 18 Jan 2024 12:52:15 +0100 Subject: [PATCH 4/6] Updated a few files --- windows_OS/README.md | 2 +- windows_OS/create.bat | 2 +- windows_OS/remote.py | 2 +- windows_OS/requirements.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/windows_OS/README.md b/windows_OS/README.md index ab239ee..adf0fd3 100644 --- a/windows_OS/README.md +++ b/windows_OS/README.md @@ -5,7 +5,7 @@ create env vars : > Github token as - "gt" ``` -### setup: +### setup: ```bash git clone "https://github.com/wikyprash/projectInitializerAutomation.git" cd projectInitializerAutomation diff --git a/windows_OS/create.bat b/windows_OS/create.bat index 8e3e0d0..2bd9763 100644 --- a/windows_OS/create.bat +++ b/windows_OS/create.bat @@ -6,7 +6,7 @@ cd /d %~dp0 If "%1"=="" ( echo "error" -) else ( +) else ( if "%2"=="" ( python remote.py %fn% %flag% ) else ( diff --git a/windows_OS/remote.py b/windows_OS/remote.py index f5fad0f..e842a0f 100644 --- a/windows_OS/remote.py +++ b/windows_OS/remote.py @@ -27,7 +27,7 @@ os.system(c) print(f'{foldername} created locally') - os.system('code .') # add github token to the env vars + os.system('code .') else: print("create ") diff --git a/windows_OS/requirements.txt b/windows_OS/requirements.txt index b3b9def..fbec796 100644 --- a/windows_OS/requirements.txt +++ b/windows_OS/requirements.txt @@ -1 +1 @@ -PyGithub==1.58.1 +PyGithub==2.1.1 From 6e0776369eb34dd2f253a7925ecd9193e8de675a Mon Sep 17 00:00:00 2001 From: Sebastian Schemer Date: Sun, 31 Mar 2024 23:13:10 +0200 Subject: [PATCH 5/6] fix: requirements.txt to reduce vulnerabilities (#5) The following vulnerabilities are fixed by pinning transitive dependencies: - https://snyk.io/vuln/SNYK-PYTHON-SELENIUM-6062316 Co-authored-by: snyk-bot --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 37ae26b..eb0a488 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ PyGithub==1.58.1 python-dotenv==1.0.0 -selenium==4.8.2 +selenium==4.15.1 From edacf85efe4ba988d663f8636d072aaf2dd60715 Mon Sep 17 00:00:00 2001 From: Sebastian Schemer Date: Thu, 4 Apr 2024 07:31:59 +0200 Subject: [PATCH 6/6] Create pylint.yml --- .github/workflows/pylint.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/pylint.yml diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml new file mode 100644 index 0000000..b169f02 --- /dev/null +++ b/.github/workflows/pylint.yml @@ -0,0 +1,23 @@ +name: Pylint + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.12.2"] + steps: + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v3 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install pylint + - name: Analysing the code with pylint + run: | + pylint $(git ls-files '*.py')