[openwrt/openwrt] Revert "build: harden GitHub workflow permissions"
LEDE Commits
lede-commits at lists.infradead.org
Sun Dec 4 08:37:34 PST 2022
ansuel pushed a commit to openwrt/openwrt.git, branch openwrt-22.03:
https://git.openwrt.org/b3e8d5815183370f3c529754dad78a3ac22db465
commit b3e8d5815183370f3c529754dad78a3ac22db465
Author: Christian Marangi <ansuelsmth at gmail.com>
AuthorDate: Sun Dec 4 17:05:51 2022 +0100
Revert "build: harden GitHub workflow permissions"
This reverts commit 008e9a335dc32c4662aa56eb67487ddd777f2147.
We now have the full CI backported to openwrt-22.03. We need to revert
this subset and apply the full backport commit.
Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
.github/workflows/formal.yml | 3 ---
.github/workflows/labeler.yml | 7 -------
.github/workflows/tools.yml | 3 ---
3 files changed, 13 deletions(-)
diff --git a/.github/workflows/formal.yml b/.github/workflows/formal.yml
index 8df31d1751..26bcc74542 100644
--- a/.github/workflows/formal.yml
+++ b/.github/workflows/formal.yml
@@ -3,9 +3,6 @@ name: Test Formalities
on:
pull_request:
-permissions:
- contents: read
-
jobs:
build:
name: Test Formalities
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
index 5f82b88a50..5eecf69023 100644
--- a/.github/workflows/labeler.yml
+++ b/.github/workflows/labeler.yml
@@ -2,15 +2,8 @@ name: 'Pull Request Labeler'
on:
- pull_request_target
-permissions:
- contents: read
-
jobs:
labeler:
- permissions:
- contents: read # to determine modified files (actions/labeler)
- pull-requests: write # to add labels to PRs (actions/labeler)
-
name: Pull Request Labeler
runs-on: ubuntu-latest
steps:
diff --git a/.github/workflows/tools.yml b/.github/workflows/tools.yml
index f483615363..39adac5beb 100644
--- a/.github/workflows/tools.yml
+++ b/.github/workflows/tools.yml
@@ -10,9 +10,6 @@ on:
- 'tools/**'
- '.github/workflows/tools.yml'
-permissions:
- contents: read
-
jobs:
build-macos-latest:
if: github.event_name != 'push'
More information about the lede-commits
mailing list