From 6e812c07955c2fa4e20dac4ae9fc52c4ff899e8c Mon Sep 17 00:00:00 2001 From: tiffanychu90 <49657200+tiffanychu90@users.noreply.github.com> Date: Wed, 20 Mar 2024 13:03:20 -0700 Subject: [PATCH 1/9] fix typos --- .github/ISSUE_TEMPLATE/bug-report.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md index 6b7290b64..d40ebbfb1 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.md +++ b/.github/ISSUE_TEMPLATE/bug-report.md @@ -1,7 +1,7 @@ --- name: Bug Report - Data or Tooling about: Create a report to help us improve our warehouse or our analytics tooling. -title: 'Bug: : [description]' +title: 'Bug: [description]' labels: ["bug", "admin"] assignees: '' --- @@ -10,7 +10,7 @@ Select from the below, and be sure to affix the appropriate label to this issue - [ ] Data (the warehouse) - [ ] JupyterHub - [ ] Metabase -- [ ] analytics.calitp.org +- [ ] analysis.calitp.org - [ ] Other (add detail) **Describe the bug** From 2419d25b18c6a0e818f0224d5a1dd099a7860552 Mon Sep 17 00:00:00 2001 From: tiffanychu90 <49657200+tiffanychu90@users.noreply.github.com> Date: Wed, 20 Mar 2024 13:05:59 -0700 Subject: [PATCH 2/9] remove extra colons --- .github/ISSUE_TEMPLATE/docs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/docs.md b/.github/ISSUE_TEMPLATE/docs.md index 6b1404d91..6ae0c48c2 100644 --- a/.github/ISSUE_TEMPLATE/docs.md +++ b/.github/ISSUE_TEMPLATE/docs.md @@ -1,7 +1,7 @@ --- name: Docs - Edits or Additions about: For making changes or additions to the data services analytics documentation. -title: 'Docs: : [description]' +title: 'Docs: [description]' labels: 'documentation' assignees: '' --- From 559eba883746baba805413f81542f0859baad1b1 Mon Sep 17 00:00:00 2001 From: tiffanychu90 <49657200+tiffanychu90@users.noreply.github.com> Date: Wed, 20 Mar 2024 13:06:50 -0700 Subject: [PATCH 3/9] fix typos --- .github/ISSUE_TEMPLATE/feature-request.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/feature-request.md b/.github/ISSUE_TEMPLATE/feature-request.md index b8c8fad16..820e5dd2f 100644 --- a/.github/ISSUE_TEMPLATE/feature-request.md +++ b/.github/ISSUE_TEMPLATE/feature-request.md @@ -11,7 +11,7 @@ Select from the below, and be sure to affix the appropriate label to this issue - [ ] Data (the warehouse) - [ ] JupyterHub - [ ] Metabase -- [ ] analytics.calitp.org +- [ ] analysis.calitp.org - [ ] Other (add detail) **Is your feature request related to a problem? Please describe.** From ab70ea6c31be76492aea612ab1203340a30b0df5 Mon Sep 17 00:00:00 2001 From: tiffanychu90 <49657200+tiffanychu90@users.noreply.github.com> Date: Wed, 20 Mar 2024 13:07:06 -0700 Subject: [PATCH 4/9] fix typos --- .github/ISSUE_TEMPLATE/feature-request.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/feature-request.md b/.github/ISSUE_TEMPLATE/feature-request.md index 820e5dd2f..4459ab715 100644 --- a/.github/ISSUE_TEMPLATE/feature-request.md +++ b/.github/ISSUE_TEMPLATE/feature-request.md @@ -7,7 +7,7 @@ assignees: '' --- **Where does your feature apply?** -Select from the below, and be sure to affix the appropriate label to this issue (e.g. `dataset`, `jupyterhub`, `metabase`, `analytics.calitp.org`) +Select from the below, and be sure to affix the appropriate label to this issue (e.g. `dataset`, `jupyterhub`, `metabase`, `analysis.calitp.org`) - [ ] Data (the warehouse) - [ ] JupyterHub - [ ] Metabase From 8fc26841fe7f290a44254e2e9ae5df728ab3c6ca Mon Sep 17 00:00:00 2001 From: tiffanychu90 <49657200+tiffanychu90@users.noreply.github.com> Date: Wed, 20 Mar 2024 13:07:27 -0700 Subject: [PATCH 5/9] fix typos --- .github/ISSUE_TEMPLATE/bug-report.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md index d40ebbfb1..6184daa8c 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.md +++ b/.github/ISSUE_TEMPLATE/bug-report.md @@ -6,7 +6,7 @@ labels: ["bug", "admin"] assignees: '' --- **Where did the bug occur?** -Select from the below, and be sure to affix the appropriate label to this issue (e.g. `dataset`, `jupyterhub`, `metabase`, `analytics.calitp.org`) +Select from the below, and be sure to affix the appropriate label to this issue (e.g. `dataset`, `jupyterhub`, `metabase`, `analysis.calitp.org`) - [ ] Data (the warehouse) - [ ] JupyterHub - [ ] Metabase From 48c37f6b511ac272f3ab6d8e041594a681a4cd8b Mon Sep 17 00:00:00 2001 From: tiffanychu90 <49657200+tiffanychu90@users.noreply.github.com> Date: Wed, 20 Mar 2024 13:15:15 -0700 Subject: [PATCH 6/9] pin netlify cli --- .github/workflows/update-portfolio-index.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-portfolio-index.yml b/.github/workflows/update-portfolio-index.yml index 39b5aff0d..e454d8be3 100644 --- a/.github/workflows/update-portfolio-index.yml +++ b/.github/workflows/update-portfolio-index.yml @@ -33,8 +33,9 @@ jobs: - name: Netlify docs preview if: ${{ github.ref != 'refs/heads/main' }} run: | - npm install -g netlify-cli + npm install -g netlify-cli@17.x.x python portfolio/portfolio.py index --deploy --alias=${GITHUB_REPOSITORY#*/}-${PR_NUMBER} + env: NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} PR_NUMBER: ${{ github.event.number }} @@ -42,7 +43,7 @@ jobs: - name: Netlify docs production if: ${{ github.ref == 'refs/heads/main' }} run: | - npm install -g netlify-cli + npm install -g netlify-cli@17.x.x python portfolio/portfolio.py index --deploy --prod env: NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} From 24b33bed15cd0f8650927f5b790a8d638f7328d6 Mon Sep 17 00:00:00 2001 From: tiffanychu90 <49657200+tiffanychu90@users.noreply.github.com> Date: Wed, 20 Mar 2024 14:49:27 -0700 Subject: [PATCH 7/9] update action to v7 --- .github/workflows/update-portfolio-index.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-portfolio-index.yml b/.github/workflows/update-portfolio-index.yml index e454d8be3..8fd9d012e 100644 --- a/.github/workflows/update-portfolio-index.yml +++ b/.github/workflows/update-portfolio-index.yml @@ -49,7 +49,7 @@ jobs: NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} - name: Add netlify link PR comment - uses: actions/github-script@v3 + uses: actions/github-script@v7 if: ${{ github.event_name == 'pull_request' }} with: github-token: ${{secrets.GITHUB_TOKEN}} From d193dda40e4d2a68a6fc31f619f4b4bbcd4a7f3f Mon Sep 17 00:00:00 2001 From: tiffanychu90 <49657200+tiffanychu90@users.noreply.github.com> Date: Wed, 20 Mar 2024 15:28:02 -0700 Subject: [PATCH 8/9] Bump to python 3.9 --- .github/workflows/update-portfolio-index.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-portfolio-index.yml b/.github/workflows/update-portfolio-index.yml index 8fd9d012e..0d983d90e 100644 --- a/.github/workflows/update-portfolio-index.yml +++ b/.github/workflows/update-portfolio-index.yml @@ -24,7 +24,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v1 with: - python-version: 3.8 + python-version: 3.9 - name: Install python packages run: | From 1ad35624784724b1c5cedc28da9d1e5885809985 Mon Sep 17 00:00:00 2001 From: tiffanychu90 Date: Wed, 20 Mar 2024 23:16:03 +0000 Subject: [PATCH 9/9] update requirements for gh action --- portfolio/requirements.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/portfolio/requirements.txt b/portfolio/requirements.txt index 08ced4917..3a0ec44cf 100644 --- a/portfolio/requirements.txt +++ b/portfolio/requirements.txt @@ -1,8 +1,8 @@ -papermill==2.3.4 -#nbformat==5.1.3 -#typer==0.4.1 +papermill~=2.4 +nbformat~=5.8 +typer~=0.9 jupyter-book==1.0.0 python-slugify==6.1.1 pyaml==21.10.1 -humanize==4.2.3 -#pydantic==1.10.5 +humanize~=4.6 +pydantic~=1.9