diff --git a/.github/workflows/check-licenses.yml b/.github/workflows/check-licenses.yml index d9aa356303..f577d0940a 100644 --- a/.github/workflows/check-licenses.yml +++ b/.github/workflows/check-licenses.yml @@ -6,6 +6,9 @@ on: pull_request: paths: - 'vendor' +permissions: + contents: read + jobs: build: name: Build diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a3c41670e7..5c1b63d6c6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,7 +1,16 @@ name: main on: - - push - - pull_request + push: + paths-ignore: + - 'docs/**' + - '**.md' + pull_request: + paths-ignore: + - 'docs/**' + - '**.md' +permissions: + contents: read + jobs: build: name: Build