GitHub Workflows security hardening (#1859)

This commit is contained in:
Alex authored and GitHub committed 2022-10-31 08:42:57 +09:00
1 parent 3eeee13bf4
commit 24393315bf
1 file changed
+7
+7
View File
@@ -3,8 +3,15 @@ name: Super Linter
on: on:
workflow_dispatch: workflow_dispatch:
permissions:
contents: read # to fetch code (actions/checkout)
jobs: jobs:
build: build:
permissions:
contents: read # to fetch code (actions/checkout)
statuses: write # to mark status of each linter run (github/super-linter/slim)
name: Lint Code Base name: Lint Code Base
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: ${{ github.actor != 'dependabot[bot]' }} if: ${{ github.actor != 'dependabot[bot]' }}