Skip to content

Commit

Permalink
refactor: reimplement defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideIadeluca committed Oct 18, 2024
1 parent aecdf7e commit 7fc63a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ inputs:
git_actor_name:
description: The name of the git actor to use for the bundled JS output.
required: false
#default: 'flarum-bot'
default: 'flarum-bot'
git_actor_email:
description: The email of the git actor to use for the bundled JS output.
required: false
#default: '[email protected]'
default: '[email protected]'
4 changes: 2 additions & 2 deletions src/jobs/commitChangesToGit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ export default async function commitChangesToGit(jp: FSJetpack): Promise<void> {
maxConcurrentProcesses: 1,
};

const gitActorName = core.getInput('git_actor_name', { required: false, trimWhitespace: true }) || 'flarum-bot';
const gitActorEmail = core.getInput('git_actor_email', { required: false, trimWhitespace: true }) || '[email protected]';
const gitActorName = core.getInput('git_actor_name', { required: false, trimWhitespace: true });
const gitActorEmail = core.getInput('git_actor_email', { required: false, trimWhitespace: true });

const config = {
author: {
Expand Down

0 comments on commit 7fc63a3

Please sign in to comment.