Skip to content

Commit

Permalink
Add security policy, GITHUB_TOKEN access restrictions. (isl-org#6814)
Browse files Browse the repository at this point in the history
* Add security policy
* contents:write for artifact upload, github releases
* Add actions:write for concurrency cancellation
  • Loading branch information
ssheorey authored Jun 4, 2024
1 parent f1f275b commit 525c4e6
Show file tree
Hide file tree
Showing 13 changed files with 40 additions and 8 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/clean-gcloud-profiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,11 @@
# happens, run this workflow manually to clean up the login profiles.

name: Clean GCloud Profiles
permissions:
contents: read

on:
workflow_dispatch:
# push:
# branches:
# - main
# pull_request:
# types: [opened, reopened, synchronize]

env:
GCE_GPU_CI_SA: ${{ secrets.GCE_GPU_CI_SA }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
name: Documentation
permissions:
contents: write
actions: write

on:
workflow_dispatch:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
name: MacOS
permissions:
contents: write
actions: write

on:
workflow_dispatch:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/style.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
name: Style Check
permissions:
contents: read
actions: write

on:
workflow_dispatch:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ubuntu-cuda.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
name: Ubuntu CUDA
permissions:
contents: write
actions: write

on:
workflow_dispatch:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ubuntu-openblas.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
name: Ubuntu OpenBLAS
permissions:
contents: read
actions: write

on:
workflow_dispatch:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ubuntu-sycl.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
name: Ubuntu SYCL
permissions:
contents: read
actions: write

on:
workflow_dispatch:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/ubuntu-wheel.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
name: Ubuntu Wheel
permissions:
contents: write
actions: write

on:
workflow_dispatch:
Expand Down Expand Up @@ -102,7 +105,7 @@ jobs:
run: |
gsutil cp ${GITHUB_WORKSPACE}/${{ env.CCACHE_TAR_NAME }}.tar.gz gs://open3d-ci-cache/
- name: Update devel release
# if: ${{ github.ref == 'refs/heads/main' }}
if: ${{ github.ref == 'refs/heads/main' }}
env:
GH_TOKEN: ${{ github.token }}
run: |
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
name: Ubuntu
permissions:
contents: write
actions: write

on:
workflow_dispatch:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/vtk_packages.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: VTK Packages
permissions:
contents: write

on:
# pull_request:
# branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/webrtc.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
name: WebRTC
permissions:
contents: write
actions: write

on:
workflow_dispatch:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
name: Windows
permissions:
contents: write
actions: write

on:
workflow_dispatch:
Expand Down
5 changes: 5 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Security Policy
Intel is committed to rapidly addressing security vulnerabilities affecting our customers and providing clear guidance on the solution, impact, severity and mitigation.

## Reporting a Vulnerability
Please report any security vulnerabilities in this project utilizing the guidelines [here](https://www.intel.com/content/www/us/en/security-center/vulnerability-handling-guidelines.html).

0 comments on commit 525c4e6

Please sign in to comment.