Skip to content

Commit

Permalink
Add github actions permissions scheme (#5363)
Browse files Browse the repository at this point in the history
  • Loading branch information
steelhead31 authored Jun 5, 2024
1 parent d085252 commit 0a9e32c
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/semgrep_diff.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,25 @@
# ********************************************************************************
# Copyright (c) 2024 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) with this work for additional
# information regarding copyright ownership.
#
# This program and the accompanying materials are made
# available under the terms of the Apache Software License 2.0
# which is available at https://www.apache.org/licenses/LICENSE-2.0.
#
# SPDX-License-Identifier: Apache-2.0
# ********************************************************************************

---
name: Semgrep Differential Scan
on:
pull_request:

permissions:
contents: read
statuses: write

jobs:
semgrep-diff:
uses: adoptium/.github/.github/workflows/semgrep_diff.yml@main

0 comments on commit 0a9e32c

Please sign in to comment.