From 8cf0e9a8275d2b99095c242ae93d1c7608df1582 Mon Sep 17 00:00:00 2001 From: Oliver Dunk Date: Mon, 31 Mar 2025 14:17:58 +0100 Subject: [PATCH] Fix linter error and run on PRs (#1447) Fixes a linter error in the `identity` API sample, and updates the linter to run on all PRs going forward. --- .github/workflows/lint.yml | 2 +- api-samples/identity/main.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 17e0d87a..e7d56697 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,5 +1,5 @@ name: CI -on: push +on: [push, pull_request] jobs: build: runs-on: ubuntu-latest diff --git a/api-samples/identity/main.js b/api-samples/identity/main.js index 9ad9eff7..7c7a7beb 100755 --- a/api-samples/identity/main.js +++ b/api-samples/identity/main.js @@ -1,6 +1,6 @@ chrome.action.onClicked.addListener(() => { chrome.tabs.create({ active: true, - url: "index.html" - }) -}) \ No newline at end of file + url: 'index.html' + }); +});