From 26fc9432caa29eada805b3b8d26cd47d55772e9b Mon Sep 17 00:00:00 2001
From: braxtonhall
Date: Fri, 28 Oct 2022 12:44:09 -0700
Subject: Add Nick Bradley
---
entries/nickbradley/.github/workflows/fib.yml | 38 ++++++++++++++++++++++++++
entries/nickbradley/qualtrics/README.md | 6 ++++
entries/nickbradley/qualtrics/qualtrics-1.png | Bin 0 -> 299662 bytes
entries/nickbradley/qualtrics/qualtrics-2.png | Bin 0 -> 108841 bytes
4 files changed, 44 insertions(+)
create mode 100644 entries/nickbradley/.github/workflows/fib.yml
create mode 100644 entries/nickbradley/qualtrics/README.md
create mode 100644 entries/nickbradley/qualtrics/qualtrics-1.png
create mode 100644 entries/nickbradley/qualtrics/qualtrics-2.png
(limited to 'entries/nickbradley')
diff --git a/entries/nickbradley/.github/workflows/fib.yml b/entries/nickbradley/.github/workflows/fib.yml
new file mode 100644
index 0000000..860ee22
--- /dev/null
+++ b/entries/nickbradley/.github/workflows/fib.yml
@@ -0,0 +1,38 @@
+name: fib\
+on:
+ push:
+ branches: [ "main" ]
+ pull_request:
+ branches: [ "main" ]
+
+ workflow_dispatch:
+
+jobs:
+ compute:
+ runs-on: ubuntu-latest
+ steps:
+ - name: sum
+ env:
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ shell: bash
+ run: |
+ prev_fib=${{ secrets.PREV_FIB_NUM }}
+ curr_fib=${{ secrets.CURR_FIB_NUM }}
+ next_fib=$((${prev_fib:-0} + ${curr_fib:-1}))
+ echo "prev=$curr_fib" >> $GITHUB_ENV
+ echo "curr=$next_fib" >> $GITHUB_ENV
+ - uses: gliech/create-github-secret-action@v1
+ with:
+ name: PREV_FIB_NUM
+ value: ${{ env.prev }}
+ pa_token: ${{ secrets.GH_TOKEN }}
+ - uses: gliech/create-github-secret-action@v1
+ with:
+ name: CURR_FIB_NUM
+ value: ${{ env.curr }}
+ pa_token: ${{ secrets.GH_TOKEN }}
+ - name: Create commit comment
+ uses: peter-evans/commit-comment@v2
+ with:
+ body: |
+ Your Fibonacci number is ${{ env.curr }}.
diff --git a/entries/nickbradley/qualtrics/README.md b/entries/nickbradley/qualtrics/README.md
new file mode 100644
index 0000000..b5810e8
--- /dev/null
+++ b/entries/nickbradley/qualtrics/README.md
@@ -0,0 +1,6 @@
+# Qualtrics
+
+[Can you code (in JavaScript)? A prescreening questionnaire ft. Fibonacci](https://ubc.ca1.qualtrics.com/jfe/form/SV_3RacCiqEFi78tvg)
+
+
+
\ No newline at end of file
diff --git a/entries/nickbradley/qualtrics/qualtrics-1.png b/entries/nickbradley/qualtrics/qualtrics-1.png
new file mode 100644
index 0000000..782b7b2
Binary files /dev/null and b/entries/nickbradley/qualtrics/qualtrics-1.png differ
diff --git a/entries/nickbradley/qualtrics/qualtrics-2.png b/entries/nickbradley/qualtrics/qualtrics-2.png
new file mode 100644
index 0000000..1781b07
Binary files /dev/null and b/entries/nickbradley/qualtrics/qualtrics-2.png differ
--
cgit v1.2.3-70-g09d2