aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/fib.yml33
-rw-r--r--entries/nickbradley/.github/workflows/fib.yml38
-rw-r--r--entries/nickbradley/qualtrics/README.md6
-rw-r--r--entries/nickbradley/qualtrics/qualtrics-1.pngbin0 -> 299662 bytes
-rw-r--r--entries/nickbradley/qualtrics/qualtrics-2.pngbin0 -> 108841 bytes
-rw-r--r--people.json15
6 files changed, 92 insertions, 0 deletions
diff --git a/.github/workflows/fib.yml b/.github/workflows/fib.yml
new file mode 100644
index 0000000..ca1e591
--- /dev/null
+++ b/.github/workflows/fib.yml
@@ -0,0 +1,33 @@
+name: fib
+on:
+ push:
+ branches: [ "main" ]
+ workflow_dispatch:
+
+jobs:
+ compute:
+ runs-on: ubuntu-latest
+ steps:
+ - name: sum
+ 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.PA_TOKEN }}
+ - uses: gliech/create-github-secret-action@v1
+ with:
+ name: CURR_FIB_NUM
+ value: ${{ env.curr }}
+ pa_token: ${{ secrets.PA_TOKEN }}
+ - name: Create commit comment
+ uses: peter-evans/commit-comment@v2
+ with:
+ body: |
+ Your Fibonacci number is ${{ env.curr }}.
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)
+
+<img src="./qualtrics-1.png" alt="prescreening page 1">
+<img src="./qualtrics-2.png" alt="prescreening page 2"> \ 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
--- /dev/null
+++ b/entries/nickbradley/qualtrics/qualtrics-1.png
Binary files differ
diff --git a/entries/nickbradley/qualtrics/qualtrics-2.png b/entries/nickbradley/qualtrics/qualtrics-2.png
new file mode 100644
index 0000000..1781b07
--- /dev/null
+++ b/entries/nickbradley/qualtrics/qualtrics-2.png
Binary files differ
diff --git a/people.json b/people.json
index 0b36c6d..a65e8b6 100644
--- a/people.json
+++ b/people.json
@@ -488,6 +488,21 @@
]
},
{
+ "github": "nickbradley",
+ "name": "Nick Bradley",
+ "title": "PhD Candidate, UBC",
+ "entries": [
+ {
+ "name": "pre-screen",
+ "link": "./entries/nickbradley/qualtrics"
+ },
+ {
+ "name": "workflow",
+ "link": "./entries/nickbradley/.github/workflows/fib.yml"
+ }
+ ]
+ },
+ {
"github": "nwoeanhinnogaehr",
"name": "Noah Weninger",
"title": "PhD Student, UWaterloo",