diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..b5c5dcc --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +*.yml @shadowmoose diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index ac5ea4a..207bbd4 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -9,6 +9,11 @@ on: pull_request: workflow_dispatch: + +permissions: + contents: read + + jobs: lint: runs-on: ${{ matrix.os }} diff --git a/.github/workflows/test-macOS-sur.yml b/.github/workflows/test-macOS-sur.yml index 2634916..1e08099 100644 --- a/.github/workflows/test-macOS-sur.yml +++ b/.github/workflows/test-macOS-sur.yml @@ -5,9 +5,13 @@ on: paths: - '**.py' - '**.yml' + pull_request: schedule: - cron: '0 8 * * *' +permissions: + contents: read + jobs: run-tests: name: Python ${{ matrix.python-version }} diff --git a/.github/workflows/test-macOS.yml b/.github/workflows/test-macOS.yml index c796a42..18f4569 100644 --- a/.github/workflows/test-macOS.yml +++ b/.github/workflows/test-macOS.yml @@ -5,9 +5,13 @@ on: paths: - '**.py' - '**.yml' + pull_request: schedule: - cron: '0 8 * * *' +permissions: + contents: read + jobs: run-tests: name: Python ${{ matrix.python-version }} diff --git a/.github/workflows/test-ubuntu.yml b/.github/workflows/test-ubuntu.yml index ff98bcc..3f9bf14 100644 --- a/.github/workflows/test-ubuntu.yml +++ b/.github/workflows/test-ubuntu.yml @@ -5,8 +5,12 @@ on: paths: - '**.py' - '**.yml' + pull_request: schedule: - - cron: '0 8 * * *' + - cron: '0 8 * * *' + +permissions: + contents: read jobs: run-tests: diff --git a/.github/workflows/test-windows.yml b/.github/workflows/test-windows.yml index 57488a6..bf877a8 100644 --- a/.github/workflows/test-windows.yml +++ b/.github/workflows/test-windows.yml @@ -5,8 +5,12 @@ on: paths: - '**.py' - '**.yml' + pull_request: schedule: - - cron: '0 8 * * *' + - cron: '0 8 * * *' + +permissions: + contents: read jobs: run-tests: