Skip to content

Commit 85068be

Browse files
committed
chore: ajusta workflows de CI/CD — desativa P0 e restringe P3 para main
1 parent 9eb37ea commit 85068be

3 files changed

Lines changed: 3 additions & 62 deletions

File tree

.github/workflows/build-docker.yaml

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,7 @@
11
---
22
name: Build Docker image
33
on:
4-
push:
5-
branches: [main]
6-
paths:
7-
- .github/workflows/cd.yaml
8-
- pipelines/**/*
9-
- models/**/*
10-
- macros/**/*
11-
- tests-dbt/**/*
12-
- pyproject.toml
13-
- uv.lock
14-
- Dockerfile
15-
# DBT config files
16-
- dbt_project.yml
17-
- packages.yml
18-
pull_request:
19-
branches: [main]
20-
paths:
21-
- .github/workflows/cd-staging.yaml
22-
- .github/workflows/build-docker.yaml
23-
- pipelines/**/*
24-
- models/**/*
25-
- macros/**/*
26-
- tests-dbt/**/*
27-
- pyproject.toml
28-
- uv.lock
29-
- Dockerfile
30-
# DBT config files
31-
- dbt_project.yml
32-
- packages.yml
4+
workflow_dispatch:
335
env:
346
GCP_PROJECT_ID: ${{ secrets.GCP_PROJECT_ID }}
357
GCP_SA_KEY: ${{ secrets.GCP_SA_KEY }}

.github/workflows/cd-staging.yaml

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,7 @@
11
---
22
name: cd (staging)
33
on:
4-
pull_request:
5-
branches: [main]
6-
types: [labeled, opened, synchronize]
7-
paths:
8-
- .github/workflows/cd-staging.yaml
9-
- pipelines/**/*
10-
- pyproject.toml
11-
- uv.lock
12-
- Dockerfile
13-
# dbt files
14-
- models/**/*.sql
15-
- models/**/*.yml
16-
- macros/**/*
17-
- tests-dbt/**/*
18-
# dbt config files
19-
- dbt_project.yml
20-
- packages.yml
4+
workflow_dispatch:
215
env:
226
GCP_PROJECT_ID: ${{ secrets.GCP_PROJECT_ID }}
237
GCP_SA_KEY: ${{ secrets.GCP_SA_KEY }}

.github/workflows/cd.yaml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,7 @@
11
---
22
name: cd (production)
33
on:
4-
push:
5-
branches: [main]
6-
paths:
7-
- .github/workflows/cd.yaml
8-
- pipelines/**/*
9-
- pyproject.toml
10-
- uv.lock
11-
- Dockerfile
12-
# dbt files
13-
- models/**/*.sql
14-
- models/**/*.yml
15-
- macros/**/*
16-
- tests-dbt/**/*
17-
# dbt config files
18-
- dbt_project.yml
19-
- packages.yml
4+
workflow_dispatch:
205
env:
216
GCP_PROJECT_ID: ${{ secrets.GCP_PROJECT_ID }}
227
GCP_SA_KEY: ${{ secrets.GCP_SA_KEY }}

0 commit comments

Comments
 (0)