Skip to content

Commit

Permalink
setting permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
alexjavabraz committed Oct 23, 2024
1 parent fff2f5d commit 9e1b3b0
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: 2wp-app build

on: [push, pull_request]

# Declare default permissions as read only.
permissions: read-all

jobs:
checkout-and-build:
runs-on: ubuntu-20.04
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ on:
- cron: "59 4 * * 1"

permissions:
contents: read
contents: read-all

jobs:
analyze:
name: Analyze
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/deploy_MainNet_UI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
tags:
- 'v*'

# Declare default permissions as read only.
permissions: read-all

jobs:
checkout-and-build:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/deploy_TestNet_UI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
tags:
- '*-rc'

# Declare default permissions as read only.
permissions: read-all

jobs:
checkout-and-build:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/deploy_staging_MainNet_UI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
branches:
- 'release-candidate'

# Declare default permissions as read only.
permissions: read-all

jobs:
checkout-and-build:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/deploy_staging_TestNet_UI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
branches:
- qa

# Declare default permissions as read only.
permissions: read-all

jobs:
checkout-and-build:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 9e1b3b0

Please sign in to comment.