Skip to content

[git] Add hashes to requirements.txt for extra security #92305

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/issue-release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:

- name: Setup Environment
run: |
pip install -r ./llvm/utils/git/requirements.txt
pip install --require-hashes -r ./llvm/utils/git/requirements.txt
./llvm/utils/git/github-automation.py --token ${{ github.token }} setup-llvmbot-git

- name: Backport Commits
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/issue-subscriber.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Setup Automation Script
working-directory: ./llvm/utils/git/
run: |
pip install -r requirements.txt
pip install --require-hashes -r requirements.txt

- name: Update watchers
working-directory: ./llvm/utils/git/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/merged-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Setup Automation Script
working-directory: ./llvm/utils/git/
run: |
pip install -r requirements.txt
pip install --require-hashes -r requirements.txt

- name: Add Buildbot information comment
working-directory: ./llvm/utils/git/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/new-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: Setup Automation Script
working-directory: ./llvm/utils/git/
run: |
pip install -r requirements.txt
pip install --require-hashes -r requirements.txt

- name: Greet Author
working-directory: ./llvm/utils/git/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-request-release-note.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

- name: Install Dependencies
run: |
pip install -r llvm/utils/git/requirements.txt
pip install --require-hashes -r llvm/utils/git/requirements.txt

- name: Request Release Note
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-subscriber.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Setup Automation Script
working-directory: ./llvm/utils/git/
run: |
pip install -r requirements.txt
pip install --require-hashes -r requirements.txt

- name: Update watchers
working-directory: ./llvm/utils/git/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:

- name: Install Dependencies
run: |
pip install -r ./llvm/utils/git/requirements.txt
pip install --require-hashes -r ./llvm/utils/git/requirements.txt

- name: Check Permissions
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/version-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

- name: Install dependencies
run: |
pip install -r ./llvm/utils/git/requirements.txt
pip install --require-hashes -r ./llvm/utils/git/requirements.txt

- name: Version Check
run: |
Expand Down
310 changes: 293 additions & 17 deletions llvm/utils/git/requirements.txt

Large diffs are not rendered by default.

Loading