From 6588a718f3d1264f2413627a7cb170e6a762aeae Mon Sep 17 00:00:00 2001 From: Scott Fryer <60462088+steelhead31@users.noreply.github.com> Date: Mon, 3 Jun 2024 08:38:55 +0100 Subject: [PATCH] Add github actions permissions scheme --- .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