Skip to content

Commit 0a9e32c

Browse files
authored
Add github actions permissions scheme (#5363)
1 parent d085252 commit 0a9e32c

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/semgrep_diff.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,25 @@
1+
# ********************************************************************************
2+
# Copyright (c) 2024 Contributors to the Eclipse Foundation
3+
#
4+
# See the NOTICE file(s) with this work for additional
5+
# information regarding copyright ownership.
6+
#
7+
# This program and the accompanying materials are made
8+
# available under the terms of the Apache Software License 2.0
9+
# which is available at https://www.apache.org/licenses/LICENSE-2.0.
10+
#
11+
# SPDX-License-Identifier: Apache-2.0
12+
# ********************************************************************************
13+
114
---
215
name: Semgrep Differential Scan
316
on:
417
pull_request:
518

19+
permissions:
20+
contents: read
21+
statuses: write
22+
623
jobs:
724
semgrep-diff:
825
uses: adoptium/.github/.github/workflows/semgrep_diff.yml@main

0 commit comments

Comments
 (0)