Skip to content

Commit

Permalink
2nd Attempt at fixing Commit Name
Browse files Browse the repository at this point in the history
  • Loading branch information
IntegerLimit committed Jan 4, 2024
1 parent 4c0f458 commit b864ae3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/updateEnglishLang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
uses: stefanzweifel/git-auto-commit-action@v5
id: commit
with:
commit_message: Update English Lang Files For Module ${{ steps.update.outputs.module.formattedName }}\n\nNow Up To Date with Commit ${{ steps.update.outputs.link }}.
commit_message: ${{ format('Update English Lang Files For Module {0}\n\nNow Up To Date with Commit {1}.', fromJson(steps.update.outputs.module).formattedName, steps.update.outputs.link) }}
commit_author: nomi-ceu-management[bot] <155502507+nomi-ceu-management[bot]@users.noreply.github.com>
commit_user_name: nomi-ceu-management[bot]
commit_user_email: 155502507+nomi-ceu-management[bot]@users.noreply.github.com
Expand Down
3 changes: 2 additions & 1 deletion tools/tasks/updateEnglishLang.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,6 @@ export async function updateEnglishLangTask(): Promise<void> {

// Must specify simple git in clone dir to work
const hash = (await simpleGit(cloneDirectory).log()).latest.hash;
setOutput("updated", JSON.stringify({ module: module, link: `${module.git}/commit/${hash}` }));
setOutput("module", JSON.stringify(module));
setOutput("link", `${module.git}/commit/${hash}`);
}

0 comments on commit b864ae3

Please sign in to comment.