Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix (cicd): Adding right permissions to pipelines #216

Merged
merged 8 commits into from
May 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/cd-deploy-to-dev.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Deploy to dev

permissions: read-all

on:
workflow_dispatch:
pull_request:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/cd-deploy-to-prod.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Deploy to prod

permissions: read-all

on:
release:
types:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/cd-deploy-to-test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Deploy to test

permissions: read-all

on:
workflow_dispatch:
push:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci-check-linters.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Lint Code Base

permissions: read-all

on:
pull_request:
branches: [master]
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci-unit-tests.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Unit Tests

permissions: read-all

on:
workflow_call:
inputs:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/delete-deployment.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Delete Cloud Run instances on PR closed by merged

permissions: read-all

on:
pull_request:
branches:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/sub-build-push-image.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Build docker image

permissions: read-all

on:
workflow_call:
inputs:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/sub-cloudrun-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Deploy to Cloud Run

permissions: read-all

on:
workflow_call:
inputs:
Expand Down
Loading