From 899bfd9eef472e54e9a73db5a14a362356d2df20 Mon Sep 17 00:00:00 2001 From: ludeeus Date: Sun, 6 Nov 2022 20:46:53 +0100 Subject: [PATCH] Add permissions key to workflows and example --- .github/workflows/additional_files.yml | 2 ++ .github/workflows/check_together.yml | 2 ++ .github/workflows/ignore_names.yml | 2 ++ .github/workflows/ignore_paths.yml | 2 ++ .github/workflows/scandir.yml | 2 ++ README.md | 1 + 6 files changed, 11 insertions(+) diff --git a/.github/workflows/additional_files.yml b/.github/workflows/additional_files.yml index 5459a30..54ff9df 100644 --- a/.github/workflows/additional_files.yml +++ b/.github/workflows/additional_files.yml @@ -5,6 +5,8 @@ on: branches: ["master"] pull_request: +permissions: {} + jobs: additional_files: name: additional_files diff --git a/.github/workflows/check_together.yml b/.github/workflows/check_together.yml index ce5a5d0..d11fb47 100644 --- a/.github/workflows/check_together.yml +++ b/.github/workflows/check_together.yml @@ -5,6 +5,8 @@ on: branches: ["master"] pull_request: +permissions: {} + jobs: check_together: name: check_together diff --git a/.github/workflows/ignore_names.yml b/.github/workflows/ignore_names.yml index 9686edd..df6e493 100644 --- a/.github/workflows/ignore_names.yml +++ b/.github/workflows/ignore_names.yml @@ -5,6 +5,8 @@ on: branches: ["master"] pull_request: +permissions: {} + jobs: ignore_names: name: ignore_names diff --git a/.github/workflows/ignore_paths.yml b/.github/workflows/ignore_paths.yml index 908da4d..ace3f88 100644 --- a/.github/workflows/ignore_paths.yml +++ b/.github/workflows/ignore_paths.yml @@ -5,6 +5,8 @@ on: branches: ["master"] pull_request: +permissions: {} + jobs: ignore_paths: name: ignore_paths diff --git a/.github/workflows/scandir.yml b/.github/workflows/scandir.yml index 4f1371f..e55e07b 100644 --- a/.github/workflows/scandir.yml +++ b/.github/workflows/scandir.yml @@ -5,6 +5,8 @@ on: branches: ["master"] pull_request: +permissions: {} + jobs: scandir: name: scandir diff --git a/README.md b/README.md index caef23e..441a935 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ on: - master name: "Trigger: Push action" +permissions: {} jobs: shellcheck: