Skip to content

Commit 11f26bc

Browse files
authored
Merge pull request RyanCNP#98 from RyanCNP/develop
Develop
2 parents 7ddd22e + f297721 commit 11f26bc

7 files changed

Lines changed: 33 additions & 33 deletions

File tree

.github/email-templates/failure-pipeline.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,15 +129,15 @@
129129
<tr>
130130
<td class="header">
131131
<h1>Falha na Pipeline - CI/CD - {{branch}}</h1>
132-
<p>Uma etapa do processo não foi concluída com sucesso</p>
132+
<p>Uma etapa do processo não foi concluída com sucesso!</p>
133133
</td>
134134
</tr>
135135

136136
<tr>
137137
<td class="content" style="border-left: 2px solid #333333; border-right: 2px solid #333333;">
138138
<h2>Olá, equipe!</h2>
139139

140-
<p>O pipeline executado na branch <strong>{{branch}}</strong> encontrou uma falha.
140+
<p>O pipeline executado na branch <strong>{{branch}}</strong> do <strong>Backend</strong> encontrou uma falha.
141141
É recomendado que um dos responsáveis verifique o problema o quanto antes.</p>
142142

143143
<div class="info-box">

.github/workflows/develop-actions.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
draft: false
6767
prerelease: true
6868
env:
69-
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
69+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7070

7171
# --- Atualizar e commitar package.json ---
7272
- name: Atualizar versão no package.json
@@ -127,7 +127,7 @@ jobs:
127127
tags: ${{ steps.meta.outputs.tags }}
128128
labels: ${{ steps.meta.outputs.labels }}
129129
env:
130-
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
130+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
131131

132132
# --- Enviar e-mail em caso de falha ---
133133
notify_failure:

.github/workflows/main-actions.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ jobs:
144144
draft: false
145145
prerelease: false
146146
env:
147-
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
147+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
148148

149149
# ---- Imagem Docker -----
150150
- name: Login Docker Hub
@@ -172,7 +172,7 @@ jobs:
172172
tags: ${{ steps.meta.outputs.tags }}
173173
labels: ${{ steps.meta.outputs.labels }}
174174
env:
175-
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
175+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
176176

177177
# --- Enviar e-mail em caso de falha ---
178178
notify_failure:

.sequelizerc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const path = require("path");
22
module.exports = {
3-
config: path.resolve("config", "config.js"),
4-
"models-path": path.resolve("src", "models"),
5-
"seeders-path": path.resolve("seeders"),
6-
"migrations-path": path.resolve("migrations"),
3+
config: path.resolve("config", "config.js"),
4+
"models-path": path.resolve("src", "models"),
5+
"seeders-path": path.resolve("seeders"),
6+
"migrations-path": path.resolve("migrations"),
77
};

migrations/20250429135537-create-table-grupo-categoria.js

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,27 @@ const { DataTypes } = require('sequelize');
44

55
/** @type {import('sequelize-cli').Migration} */
66
module.exports = {
7-
async up (queryInterface, Sequelize) {
8-
await queryInterface.createTable('grupo_categoria',
9-
{
10-
id: {
11-
primaryKey: true,
12-
allowNull: false,
13-
autoIncrement: true,
14-
type: DataTypes.INTEGER,
15-
},
16-
nome: {
17-
allowNull: false,
18-
type: DataTypes.STRING(50)
19-
},
20-
icone: {
21-
allowNull: false,
22-
type: DataTypes.STRING(50)
23-
}
24-
});
7+
async up(queryInterface, Sequelize) {
8+
await queryInterface.createTable('grupo_categoria',
9+
{
10+
id: {
11+
primaryKey: true,
12+
allowNull: false,
13+
autoIncrement: true,
14+
type: DataTypes.INTEGER,
15+
},
16+
nome: {
17+
allowNull: false,
18+
type: DataTypes.STRING(50)
19+
},
20+
icone: {
21+
allowNull: false,
22+
type: DataTypes.STRING(50)
23+
}
24+
});
2525
},
2626

27-
async down (queryInterface, Sequelize) {
27+
async down(queryInterface, Sequelize) {
2828
await queryInterface.dropTable('grupo_categoria');
2929
}
3030
};

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "backend",
3-
"version": "2.0.0",
3+
"version": "2.0.8",
44
"description": "BackEnd do projeto SaneaSP",
55
"main": "index.js",
66
"scripts": {
@@ -68,4 +68,4 @@
6868
"url": "https://github.com/RyanCarloNP/Backend-SaneaSP/issues"
6969
},
7070
"homepage": "https://github.com/RyanCarloNP/Backend-SaneaSP#readme"
71-
}
71+
}

0 commit comments

Comments
 (0)