Skip to content

Commit

Permalink
Set token permissions in workflows.
Browse files Browse the repository at this point in the history
  • Loading branch information
bbernhar committed Jan 23, 2024
1 parent 23eedf2 commit 191609f
Show file tree
Hide file tree
Showing 14 changed files with 15 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/linux_auto_assign_author.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Automatically assigns the author who created the PR to the Assignees in GitHub.
name: PR Author Assign
permissions: read-all

on:
pull_request_target:
Expand All @@ -14,4 +15,4 @@ jobs:
steps:
- uses: toshimaru/[email protected]
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
repo-token: "${{ secrets.GITHUB_TOKEN }}"
1 change: 1 addition & 0 deletions .github/workflows/linux_clang_format_check.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: "Clang format check"
permissions: read-all

on:
push:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/linux_publish_api_docs.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: "Build and Publish API Documentation"
permissions: read-all

on:
push:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/win_auto_roll.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# once the integration tests become green.
# Any new dependencies in .\DEPS should also be added here.
name: 'Auto Roll DEPS'
permissions: read-all

on:
workflow_dispatch:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/win_x64_cmake_msvc_dbg.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Windows x64 CMake/MSVC (Debug)
permissions: read-all

on:
# This is a required workflow specified in branch enforcement
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/win_x64_cmake_msvc_rel.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Windows x64 CMake/MSVC (Release)
permissions: read-all

on:
# This is a required workflow specified in branch enforcement
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/win_x64_gn_clang_dbg.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Windows x64 GN/Clang (Debug)
permissions: read-all

on:
# This is a required workflow specified in branch enforcement
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/win_x64_gn_clang_dbg_dawn.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Windows x64 GN/Clang WebGPU/Dawn (Debug)
permissions: read-all

on:
workflow_dispatch:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/win_x64_gn_clang_rel.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Windows x64 GN/Clang (Release)
permissions: read-all

on:
# This is a required workflow specified in branch enforcement
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/win_x64_gn_clang_rel_dawn.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Windows x64 GN/Clang WebGPU/Dawn (Release)
permissions: read-all

on:
push:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/win_x64_gn_msvc_dbg.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Windows x64 GN/MSVC (Debug)
permissions: read-all

on:
# This is a required workflow specified in branch enforcement
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/win_x64_gn_msvc_rel.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Windows x64 GN/MSVC (Release)
permissions: read-all

on:
# This is a required workflow specified in branch enforcement
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/win_x86_gn_clang_dbg.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Windows x86 GN/Clang (Debug)
permissions: read-all

on:
# This is a required workflow specified in branch enforcement
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/win_x86_gn_clang_rel.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Windows x86 GN/Clang (Release)
permissions: read-all

on:
# This is a required workflow specified in branch enforcement
Expand Down

0 comments on commit 191609f

Please sign in to comment.