From 267d7643ac914ef3e879c00382db0886f811f986 Mon Sep 17 00:00:00 2001 From: DhanushPillay Date: Mon, 8 Dec 2025 14:57:50 +0530 Subject: [PATCH 1/2] Update GitHub Actions to latest versions (setup-python@v5, checkout@v4) --- .github/workflows/bot-pr-new.yaml | 2 +- .github/workflows/ci.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/bot-pr-new.yaml b/.github/workflows/bot-pr-new.yaml index 13724cc14f0..3c908f89163 100644 --- a/.github/workflows/bot-pr-new.yaml +++ b/.github/workflows/bot-pr-new.yaml @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Fetch pull request branch - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: repository: ${{ github.event.client_payload.pull_request.head.repo.full_name }} ref: ${{ github.event.client_payload.pull_request.head.sha }} diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d50aa5d37bb..8305b4c6957 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -11,8 +11,8 @@ jobs: name: Notebook format runs-on: ubuntu-latest steps: - - uses: actions/setup-python@v1 - - uses: actions/checkout@v2 + - uses: actions/setup-python@v5 + - uses: actions/checkout@v4 - name: Fetch master branch run: git fetch -u origin master:master - name: Install tensorflow-docs @@ -33,8 +33,8 @@ jobs: name: Notebook lint runs-on: ubuntu-latest steps: - - uses: actions/setup-python@v1 - - uses: actions/checkout@v2 + - uses: actions/setup-python@v5 + - uses: actions/checkout@v4 - name: Fetch master branch run: git fetch -u origin master:master - name: Install tensorflow-docs @@ -56,7 +56,7 @@ jobs: name: Notebook outputs removed runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Fetch master branch run: git fetch -u origin master:master - name: Check for output cells From dcc3882e4200afe73bffd9c004bedbe8fc02e217 Mon Sep 17 00:00:00 2001 From: DhanushPillay Date: Mon, 8 Dec 2025 15:00:00 +0530 Subject: [PATCH 2/2] Fix security: Update CLA URLs to HTTPS and enhance .gitignore --- .gitignore | 32 +++++++++++++++++++++++++++----- CONTRIBUTING.md | 4 ++-- 2 files changed, 29 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 62d8ea0feb2..7628aae084b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,31 @@ +# Python **/*.pyc -**/*.rws -**/.DS_Store +**/__pycache__/ +**/*.pyo +**/*.pyd +**/.Python +**/*.so +**/*.egg +**/*.egg-info/ +**/dist/ +**/build/ +**/.eggs/ + +# Virtual environments +**/venv/ +**/env/ +**/ENV/ +**/.venv/ +**/.python-version + +# IDE **/.idea -**/.ipynb_checkpoints **/.vscode +**/.DS_Store + +# Jupyter +**/.ipynb_checkpoints + +# Project specific +**/*.rws **/proofreading -**/venv -**/.python-version diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6f301eab782..a43863c2904 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -25,9 +25,9 @@ corporate Contributor License Agreement (CLA): * If you are an individual writing original documentation or source code and you're sure you own the intellectual property, sign an - [individual CLA](http://code.google.com/legal/individual-cla-v1.0.html). + [individual CLA](https://code.google.com/legal/individual-cla-v1.0.html). * If you work for a company that wants to allow you to contribute your work, sign - a [corporate CLA](http://code.google.com/legal/corporate-cla-v1.0.html). + a [corporate CLA](https://code.google.com/legal/corporate-cla-v1.0.html). We can accept your pull requests after you sign the CLA. We can only receive original documentation and source code from you and other people that have