From 4dd6b21a5816579e72493b9631f26cada6dc8eda Mon Sep 17 00:00:00 2001 From: ludanyuan Date: Tue, 26 May 2026 14:51:29 -0400 Subject: [PATCH 1/4] add moon emoji to default emoji options --- packages/plugin-emoji-screen/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/plugin-emoji-screen/src/index.ts b/packages/plugin-emoji-screen/src/index.ts index 87d2050..211f41d 100644 --- a/packages/plugin-emoji-screen/src/index.ts +++ b/packages/plugin-emoji-screen/src/index.ts @@ -17,7 +17,7 @@ const info = { emojis: { type: ParameterType.STRING, array: true, - default: ["😀", "🎉", "⭐", "🌟", "🎈", "🦄", "🍕", "🎸"], + default: ["😀", "🎉", "⭐", "🌟", "🎈", "🦄", "🍕", "🎸","🌙"], }, /** The key that ends the trial and records the final emoji arrangement. */ key_to_finish: { From 61b06f768f918f3395116c0f13a30a5636de3c16 Mon Sep 17 00:00:00 2001 From: ludanyuan Date: Tue, 26 May 2026 15:12:07 -0400 Subject: [PATCH 2/4] Add changeset --- .changeset/wise-months-raise.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/wise-months-raise.md diff --git a/.changeset/wise-months-raise.md b/.changeset/wise-months-raise.md new file mode 100644 index 0000000..0d39ed0 --- /dev/null +++ b/.changeset/wise-months-raise.md @@ -0,0 +1,5 @@ +--- +"@jspsych/plugin-emoji-screen": patch +--- + +add moon emoji to default emoji options From 75ec4977349d979fb9b196895aae0200c4f027ef Mon Sep 17 00:00:00 2001 From: ludanyuan Date: Tue, 26 May 2026 15:37:10 -0400 Subject: [PATCH 3/4] update emoji screen example trial --- packages/plugin-button-click-counter/tsconfig.json | 2 +- packages/plugin-emoji-screen/examples/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/plugin-button-click-counter/tsconfig.json b/packages/plugin-button-click-counter/tsconfig.json index 8a84508..f0ddca8 100644 --- a/packages/plugin-button-click-counter/tsconfig.json +++ b/packages/plugin-button-click-counter/tsconfig.json @@ -5,4 +5,4 @@ "resolveJsonModule": true }, "include": ["src"] -} +} \ No newline at end of file diff --git a/packages/plugin-emoji-screen/examples/index.html b/packages/plugin-emoji-screen/examples/index.html index d540376..859dbf3 100644 --- a/packages/plugin-emoji-screen/examples/index.html +++ b/packages/plugin-emoji-screen/examples/index.html @@ -15,7 +15,7 @@ var trial = { type: jsPsychEmojiScreen, - emojis: ["😀", "🎉", "⭐", "🌟", "🎈", "🦄", "🍕", "🎸"], + emojis: ["😀", "🎉", "⭐", "🌟", "🎈", "🦄", "🍕", "🎸","🌙"], key_to_finish: "Enter", prompt: "

Click anywhere to place emojis. Press Enter when you are done.

", }; From 82f47b7c95b504bf06a7b6d255c7f2faa9492ee9 Mon Sep 17 00:00:00 2001 From: ludanyuan Date: Thu, 28 May 2026 16:03:50 -0400 Subject: [PATCH 4/4] Add OSSF Scorecard workflow --- .github/workflows/scorecard.yml | 34 +++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/scorecard.yml diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml new file mode 100644 index 0000000..cfa73bf --- /dev/null +++ b/.github/workflows/scorecard.yml @@ -0,0 +1,34 @@ +name: OSSF Scorecard + +on: + push: + branches: [main] + pull_request: + schedule: + - cron: "0 0 * * 0" + +permissions: + contents: read + security-events: write + actions: read + +jobs: + scorecard: + name: OSSF Scorecard action + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: OSSF Scorecard action + uses: ossf/scorecard-action@v2.4.3 + with: + results_file: results.sarif + results_format: sarif + publish_results: true + + - name: Upload SARIF results + uses: github/codeql-action/upload-sarif@v3 + with: + sarif_file: results.sarif \ No newline at end of file