From ec850b47f5ec3f6ca5f08a6434fbde0198b57c50 Mon Sep 17 00:00:00 2001 From: Vincent Boutour Date: Sat, 2 Jul 2022 16:07:55 +0200 Subject: [PATCH] ci: reducing line count for removing permissions Signed-off-by: Vincent Boutour --- .github/workflows/branch_clean.yaml | 12 +----------- .github/workflows/build.yaml | 12 +----------- .github/workflows/herodote.yaml | 12 +----------- 3 files changed, 3 insertions(+), 33 deletions(-) diff --git a/.github/workflows/branch_clean.yaml b/.github/workflows/branch_clean.yaml index 7408e7a7..8c69267a 100644 --- a/.github/workflows/branch_clean.yaml +++ b/.github/workflows/branch_clean.yaml @@ -1,17 +1,7 @@ --- name: Git -permissions: - actions: none - checks: none - contents: none - deployments: none - issues: none - packages: none - pages: none - pull-requests: none - repository-projects: none - security-events: none +permissions: {} on: - pull_request diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 47c7a429..343836e6 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -1,17 +1,7 @@ --- name: Build -permissions: - actions: none - checks: none - contents: none - deployments: none - issues: none - packages: none - pages: none - pull-requests: none - repository-projects: none - security-events: none +permissions: {} on: push: diff --git a/.github/workflows/herodote.yaml b/.github/workflows/herodote.yaml index e5ee147b..ff7a9f2b 100644 --- a/.github/workflows/herodote.yaml +++ b/.github/workflows/herodote.yaml @@ -1,17 +1,7 @@ --- name: Herodote -permissions: - actions: none - checks: none - contents: none - deployments: none - issues: none - packages: none - pages: none - pull-requests: none - repository-projects: none - security-events: none +permissions: {} on: push: