Skip to content

Commit

Permalink
fix: ajuste para probar pasar enviroment en job como variable de entorno
Browse files Browse the repository at this point in the history
  • Loading branch information
bbatist-ban committed Mar 14, 2024
1 parent 2776d89 commit b9df050
Show file tree
Hide file tree
Showing 3 changed files with 85 additions and 7 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/template-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@ permissions:
pull-requests: write
id-token: write

env:
ACTIONS_ENV: ${{ secrets.ACTIONS_ENV }}

jobs:
release:
environment: ACTIONS_ENV
environment: ${{ env.ACTIONS_ENV }}
runs-on: ubuntu-latest

env:
Expand Down
9 changes: 3 additions & 6 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
{ "tag": "update", "release": "minor" },
{ "tag": "upgrade", "release": "minor" },
{ "tag": "docs", "release": "patch" },
{ "tag": "build", "release": "patch" },
{ "tag": "ci", "release": "patch" },
{ "tag": "fix", "release": "patch" },
{ "tag": "test", "release": "patch" },
{ "tag": "perf", "release": "patch" }
{ "tag": "perf", "release": "patch" },
{ "scope": "no-release", "release": false }
]
}
],
Expand All @@ -28,18 +28,15 @@
"presetConfig": {
"types": [
{ "type": "breaking", "section": "Major version release", "hidden": false },
{ "type": "Breaking", "section": "Major version release", "hidden": false },
{ "type": "BREAKING", "section": "Major version release", "hidden": false },
{ "type": "BREAKING CHANGE", "section": "Major version release", "hidden": false },
{ "type": "BREAKING CHANGES", "section": "Major version release", "hidden": false },
{ "type": "feat", "section": "Features", "hidden": false },
{ "type": "fix", "section": "Bug Fixes", "hidden": false },
{ "type": "hotfix", "section": "Bug Fixes", "hidden": false },
{ "type": "update", "section": "Updates", "hidden": false },
{ "type": "upgrade", "section": "Upgrades", "hidden": false },
{ "type": "docs", "section": "Documentation", "hidden": false },
{ "type": "chore", "section": "Chores", "hidden": false },
{ "type": "build", "section": "CI/CD Changes", "hidden": false },
{ "type": "ci", "section": "CI/CD Changes", "hidden": false },
{ "type": "test", "section": "Tests", "hidden": false },
{ "type": "refactor", "section": "Refactoring", "hidden": false },
Expand All @@ -59,4 +56,4 @@
}
]
]
}
}
78 changes: 78 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
{
"gitCommitLintVscode.customType": [
{
"emoji": "",
"type": "breaking",
"name": "up major version",
"description": "`v1.0.0 --> v2.0.0`"
},
{
"emoji": "",
"type": "feat",
"name": "new feature",
"description": "v1.0.0 --> v1.1.0"
},
{
"emoji": "",
"type": "refactor",
"name": "refactoring features",
"description": "v1.0.0 --> v1.1.0"
},
{
"emoji": "",
"type": "update",
"name": "update changes",
"description": "v1.0.0 --> v1.1.0"
},
{
"emoji": "",
"type": "upgrade",
"name": "upgrade changes",
"description": "v1.0.0 --> v1.1.0"
},
{
"emoji": "",
"type": "chore",
"name": "significant changes usually many bugs and refactoring",
"description": "v1.0.0 --> v1.1.0"
},
{
"emoji": "",
"type": "fix",
"name": "bug",
"description": "v1.0.0 --> v1.0.1"
},
{
"emoji": "",
"type": "docs",
"name": "documentation changes",
"description": "v1.0.0 --> v1.0.1"
},

{
"emoji": "",
"type": "build",
"name": "build changes",
"description": "v1.0.0 --> v1.0.1"
},
{
"emoji": "",
"type": "ci",
"name": "CI/CD changes",
"description": "v1.0.0 --> v1.0.1"
},
{
"emoji": "",
"type": "test",
"name": "tests changes",
"description": "v1.0.0 --> v1.0.1"
},

{
"emoji": "",
"type": "perf",
"name": "performance changes",
"description": "v1.0.0 --> v1.0.1"
}
]
}

0 comments on commit b9df050

Please sign in to comment.