Skip to content

Commit

Permalink
chore(api): make the expr shorter
Browse files Browse the repository at this point in the history
  • Loading branch information
clearloop committed Jun 10, 2024
1 parent 02ad0bb commit 2eef169
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ const DEPBOT = 'dependabot';
export async function run(): Promise<void> {
try {
const inputs = unpackInputs();
if (inputs.ref.startsWith(DEPBOT)) {
return;
}
if (inputs.ref.startsWith(DEPBOT)) return;

const inputsJSON = JSON.stringify(inputs, null, 2);
core.info(`Workflow inputs: ${inputsJSON}`);
Expand Down

0 comments on commit 2eef169

Please sign in to comment.