Skip to content

Commit b54c3a1

Browse files
authored
refactor: Rename commit-to-git workflow (#5)
1 parent 3511f81 commit b54c3a1

File tree

3 files changed

+17
-14
lines changed

3 files changed

+17
-14
lines changed

.github/workflows/commit-to-git.yml renamed to .github/workflows/update-genexus-dep-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Commit to GeneXus repository
1+
name: Update specified dependency version in GeneXus
22

33
on:
44
workflow_call:

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This repository contains a collection of reusable workflows used by different Ge
99
- [Repository Content](#repository-content)
1010
- [Workflows](#workflows)
1111
- [run-beta-bot](#run-beta-bot)
12-
- [commit-to-git](#commit-to-git)
12+
- [update-genexus-dep-version](#update-genexus-dep-version)
1313
- [Contributing](#contributing)
1414
- [License](#license)
1515

@@ -53,11 +53,11 @@ The [run-beta-bot](.github/workflows/run-beta-bot.yml) workflow is used to handl
5353

5454
To use the run-beta-bot workflow, look at the instructions defined in the template workflow [templates/call-beta-bot.yml](templates/call-beta-bot.yml).
5555

56-
### commit-to-git
56+
### update-genexus-dep-version
5757

58-
The [commit-to-git](.github/workflows/commit-to-git.yml) workflow is used to update the version of a component in the GeneXus source code repository. This workflow automates the process of synchronizing the component version across multiple projects, ensuring consistency and reducing the chance of errors.
58+
The [update-genexus-dep-version](.github/workflows/update-genexus-dep-version.yml) workflow is used to update the version of a component in the GeneXus source code repository. This workflow automates the process of synchronizing the component version across multiple projects, ensuring consistency and reducing the chance of errors.
5959

60-
To use the commit-to-git workflow, follow the instructions provided in the [templates/call-commit-to-git.yml](templates/call-commit-to-git.yml).
60+
To use the update-genexus-dep-version workflow, follow the instructions provided in the [templates/call-update-genexus-dep-version.yml](templates/call-update-genexus-dep-version.yml).
6161

6262
## Contributing
6363

templates/call-commit-to-git.yml renamed to templates/call-update-genexus-dep-version.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# 4. Configure update-genexus-dependency job to execute after your build job and
1313
# retrieve the package name and version information.
1414
# -----------------
15-
name: Call Commit to Git Workflow
15+
name: Call "Update GeneXus Dependency Version" Workflow
1616

1717
jobs:
1818

@@ -61,12 +61,15 @@ name: Call Commit to Git Workflow
6161
echo "PACKAGES_NAME=$packageNames" >> $env:GITHUB_OUTPUT
6262
6363
# -- Copy & Paste the following job ---
64-
update-genexus-dependency:
65-
# Replace the 'buildJob' name in the following lines for the name of the job in your workflow that publish the packages(s)
66-
uses: genexuslabs/build-genexus-reusable-workflow/.github/workflows/commit-to-git.yml@main
67-
needs: buildJob
68-
with:
69-
VERSION: ${{ needs.buildJob.outputs.PACKAGE_VERSION }}
70-
PACKAGE_NAMES: ${{ needs.buildJob.outputs.PACKAGES_NAME }} # Optional
71-
secrets: inherit
64+
update-genexus-dependency:
65+
# Replace the 'buildJob' name in the following lines for the name of the job in your workflow that publish the packages(s)
66+
uses: genexuslabs/build-genexus-reusable-workflow/.github/workflows/update-genexus-dep-version.yml@main
67+
needs: buildJob
68+
with:
69+
VERSION: ${{ needs.buildJob.outputs.PACKAGE_VERSION }}
70+
PACKAGE_NAMES: ${{ needs.buildJob.outputs.PACKAGES_NAME }} # Optional (1)
71+
secrets: inherit
7272
# -------------------------------------
73+
74+
# (1) PACKAGES_NAME is optional when your have only one dependency to update and its name
75+
# is the same than the repo; otherwise, define this value.

0 commit comments

Comments
 (0)