From 0a9e32cfa872e9e61d98c6d8897d430247ea9067 Mon Sep 17 00:00:00 2001 From: Scott Fryer <60462088+steelhead31@users.noreply.github.com> Date: Wed, 5 Jun 2024 16:00:19 +0100 Subject: [PATCH] Add github actions permissions scheme (#5363) --- .github/workflows/semgrep_diff.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/semgrep_diff.yml b/.github/workflows/semgrep_diff.yml index cb5f228812..8fa4884a85 100644 --- a/.github/workflows/semgrep_diff.yml +++ b/.github/workflows/semgrep_diff.yml @@ -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