summaryrefslogtreecommitdiff
path: root/.github/workflows/mingw.yml
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2022-11-28 16:50:41 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2022-11-28 18:28:31 +0900
commit8bac8772df7d202ce290a8e056a680fd5b8c9d23 (patch)
tree1deca2e3ea6c5e78f2c0882c7de05b911d2588bf /.github/workflows/mingw.yml
parent906a2f067dfc806b7412c7cd79bb7462fc8c7827 (diff)
downloadruby-8bac8772df7d202ce290a8e056a680fd5b8c9d23.tar.gz
Added permission restrictions for GitHub actions
Diffstat (limited to '.github/workflows/mingw.yml')
-rw-r--r--.github/workflows/mingw.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/mingw.yml b/.github/workflows/mingw.yml
index e1af98c250..485147b4d0 100644
--- a/.github/workflows/mingw.yml
+++ b/.github/workflows/mingw.yml
@@ -21,6 +21,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
+
# Notes:
# Actions console encoding causes issues, see test-all & test-spec steps
#