From 8bac8772df7d202ce290a8e056a680fd5b8c9d23 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Mon, 28 Nov 2022 16:50:41 +0900 Subject: Added permission restrictions for GitHub actions --- .github/workflows/spec_guards.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to '.github/workflows/spec_guards.yml') diff --git a/.github/workflows/spec_guards.yml b/.github/workflows/spec_guards.yml index 41c7d5badf..a2f541ff3d 100644 --- a/.github/workflows/spec_guards.yml +++ b/.github/workflows/spec_guards.yml @@ -14,6 +14,9 @@ concurrency: group: ${{ github.workflow }} / ${{ startsWith(github.event_name, 'pull') && github.ref_name || github.sha }} cancel-in-progress: ${{ startsWith(github.event_name, 'pull') }} +permissions: + contents: read + jobs: rubyspec: name: Rubyspec -- cgit v1.2.3