Skip to content

Commit

Permalink
Pputman/update pr (#11203)
Browse files Browse the repository at this point in the history
* test CI

* adding contents:read for the github permissions at the top level of all workflows

---------

Co-authored-by: Martín Volpe <[email protected]>
Co-authored-by: pputman12 <[email protected]>
  • Loading branch information
3 people authored Sep 13, 2024
1 parent 2aa3963 commit bdd686d
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ packages/web

# Ignore generated credentials from google-github-actions/auth
gha-creds-*.json

3 changes: 3 additions & 0 deletions .github/workflows/celo-monorepo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ env:
# with:
# limit-access-to-actor: true

permissions:
contents: read

jobs:
install-dependencies:
name: Install dependencies
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/containers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ on:
- 'packages/celotool/**'
workflow_dispatch:

permissions:
contents: read

jobs:
changed-files:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/protocol-devchain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
- cron: 0 0 1 * *
workflow_dispatch:

permissions:
contents: read

jobs:
generate-protocol-devchain:
name: Generate protocol devchain used in celo-monorepo.yml workflow
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/protocol_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ env:
FOUNDRY_CACHE_KEY: 2
ANVIL_PORT: 8546

permissions:
contents: read

jobs:
check:
defaults:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/publish-contracts-abi-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ on:
description: 'NPM TAG e.g. alpha, pre-merge (default: canary) '
required: true
type: string

permissions:
contents: read

jobs:
publish:
runs-on: ['self-hosted', 'org', 'npm-publish']
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
schedule:
- cron: '40 14 * * *'

permissions:
contents: read

jobs:
stale:

Expand Down

0 comments on commit bdd686d

Please sign in to comment.