mirror of
https://github.com/mempool/mempool.git
synced 2026-08-13 12:33:11 +02:00
Merge pull request #6439 from mempool/knorrium/workflow_permissions
Set explicit read permissions to all workflows
This commit is contained in:
commit
cfcf2441b0
8 changed files with 27 additions and 2 deletions
3
.github/workflows/backend-integration.yml
vendored
3
.github/workflows/backend-integration.yml
vendored
|
|
@ -7,6 +7,9 @@ on:
|
|||
branches:
|
||||
- master
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
backend-integration:
|
||||
if: "(github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'ops') && !contains(github.head_ref, 'ops/')) || github.event_name == 'push'"
|
||||
|
|
|
|||
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
|
@ -7,6 +7,9 @@ on:
|
|||
branches:
|
||||
- master
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
backend:
|
||||
if: "(github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'ops') && !contains(github.head_ref, 'ops/')) || github.event_name == 'push'"
|
||||
|
|
|
|||
5
.github/workflows/e2e_parameterized.yml
vendored
5
.github/workflows/e2e_parameterized.yml
vendored
|
|
@ -17,7 +17,10 @@ on:
|
|||
description: 'Liquid Hostname'
|
||||
required: true
|
||||
default: 'liquid.network'
|
||||
type: string
|
||||
type: string
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
cache:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,9 @@ name: 'Check if servers are in sync'
|
|||
|
||||
on: [workflow_dispatch]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
print-backend-sha:
|
||||
runs-on: mempool-ci
|
||||
|
|
|
|||
3
.github/workflows/get_backend_hash.yml
vendored
3
.github/workflows/get_backend_hash.yml
vendored
|
|
@ -2,6 +2,9 @@ name: 'Print backend hashes'
|
|||
|
||||
on: [workflow_dispatch]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
print-backend-sha:
|
||||
runs-on: mempool-ci
|
||||
|
|
|
|||
6
.github/workflows/get_image_digest.yml
vendored
6
.github/workflows/get_image_digest.yml
vendored
|
|
@ -7,7 +7,11 @@ on:
|
|||
description: 'Image Version'
|
||||
required: false
|
||||
default: 'latest'
|
||||
type: string
|
||||
type: string
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
print-images-sha:
|
||||
runs-on: mempool-ci
|
||||
|
|
|
|||
3
.github/workflows/project-review-status.yml
vendored
3
.github/workflows/project-review-status.yml
vendored
|
|
@ -6,6 +6,9 @@ on:
|
|||
issues:
|
||||
types: [opened]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
project-automation:
|
||||
uses: mempool/.github/.github/workflows/project-board-automation.yml@master
|
||||
|
|
|
|||
3
.github/workflows/supply-chain-audit.yml
vendored
3
.github/workflows/supply-chain-audit.yml
vendored
|
|
@ -7,6 +7,9 @@ on:
|
|||
branches:
|
||||
- master
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
backend:
|
||||
if: "(github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'ops') && !contains(github.head_ref, 'ops/')) || github.event_name == 'push'"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue