Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
asafdl committed Nov 12, 2024
1 parent 2397dc8 commit 69ead95
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion actions/trickle-down-changelog/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export async function run() {
const currentRef = github.context.ref.replace('refs/heads/', '');

// we only care about merges to beta/ga branches
// if (!semver.parse(currentRef) && !semver.parse(currentRef + '.0')) return;
if (!semver.parse(currentRef) && !semver.parse(currentRef + '.0')) return;

const commitInfo = await octokit.request(
'GET /repos/{owner}/{repo}/commits/{sha}',
Expand Down
2 changes: 1 addition & 1 deletion actions/trickle-down-changelog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"main": "index.js",
"scripts": {
"build": "ncc build --target es6 index.ts",
"dev": "npx @github/local-action run . index.ts .env.example"
"dev": "npx @github/local-action run . index.ts .env.example",
},
"author": "github.com/asafdl",
"license": "ISC",
Expand Down
1 change: 1 addition & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export default tseslint.config(
'**/dist/**',
'**/node_modules/**',
'**/__snapshots__/**',
'**/*.js',
],
},
);

0 comments on commit 69ead95

Please sign in to comment.