Revert "Apply the principle of least privilege for GitHub workflows (#33534)" (#33626)

This reverts commit 61c6bd5ace.
This commit is contained in:
Stian Thorgersen
2024-10-07 08:41:43 +02:00
committed by GitHub
parent 14f14152de
commit 058538ca08
13 changed files with 1 additions and 40 deletions

View File

@@ -12,9 +12,6 @@ on:
type: string
required: true
permissions:
contents: read
jobs:
delete:
name: Delete Aurora DB

View File

@@ -22,9 +22,6 @@ defaults:
run:
shell: bash
permissions:
contents: read
jobs:
conditional:

View File

@@ -22,9 +22,6 @@ defaults:
run:
shell: bash
permissions:
contents: read
jobs:
conditional:

View File

@@ -21,9 +21,6 @@ defaults:
run:
shell: bash
permissions:
contents: read
jobs:
conditional:
@@ -102,4 +99,4 @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/actions/status-check
with:
jobs: ${{ toJSON(needs) }}
jobs: ${{ toJSON(needs) }}

View File

@@ -21,9 +21,6 @@ defaults:
run:
shell: bash
permissions:
contents: read
jobs:
conditional:

View File

@@ -21,9 +21,6 @@ defaults:
run:
shell: bash
permissions:
contents: read
jobs:
conditional:
name: Check conditional workflows and jobs

View File

@@ -3,9 +3,6 @@ on:
pull_request_target:
types: closed
permissions:
contents: read
jobs:
label:

View File

@@ -23,9 +23,6 @@ concurrency:
group: operator-ci-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
conditional:

View File

@@ -14,9 +14,6 @@ concurrency:
group: quarkus-next-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
update-quarkus-next-branch:
name: Update quarkus-next branch

View File

@@ -5,9 +5,6 @@ on:
- cron: '0 0 * * *'
workflow_dispatch:
permissions:
contents: read
jobs:
setup:

View File

@@ -10,9 +10,6 @@ defaults:
run:
shell: bash
permissions:
contents: read
jobs:
analysis:
name: Analysis of Quarkus and Operator

View File

@@ -7,9 +7,6 @@ defaults:
run:
shell: bash
permissions:
contents: read
jobs:
analysis:

View File

@@ -22,9 +22,6 @@ concurrency:
group: weblate-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
update-weblate:
name: Trigger Weblate to pull the latest changes