Skip to content

Commit

Permalink
Limit permissions (#701)
Browse files Browse the repository at this point in the history
* Limit permissions

* Update json.yml

* Update code.yml
  • Loading branch information
arichiv authored Dec 12, 2024
1 parent d354a43 commit b0472e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ on:
- main
schedule:
- cron: '0 14 * * 2' # 2pm UTC each Tuesday
permissions: {}
jobs:
Code-Actions:
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/json.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
# limitations under the License.
name: JSON Validations
on: pull_request_target
permissions:
pull-requests: write
jobs:
JSON-Actions:
runs-on: ubuntu-latest
Expand Down

0 comments on commit b0472e8

Please sign in to comment.