Skip to content

Commit

Permalink
Merge pull request #1054 from cal-itp/gh-workflow-updates
Browse files Browse the repository at this point in the history
github repo workflow changes
  • Loading branch information
tiffanychu90 authored Mar 21, 2024
2 parents f9fbfd3 + 1ad3562 commit 12bd739
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 15 deletions.
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
---
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: ''
---
**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
- [ ] analytics.calitp.org
- [ ] analysis.calitp.org
- [ ] Other (add detail)

**Describe the bug**
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/docs.md
Original file line number Diff line number Diff line change
@@ -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: ''
---
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/feature-request.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ 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
- [ ] analytics.calitp.org
- [ ] analysis.calitp.org
- [ ] Other (add detail)

**Is your feature request related to a problem? Please describe.**
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/update-portfolio-index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -33,22 +33,23 @@ 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 }}

- 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 }}

- 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}}
Expand Down
10 changes: 5 additions & 5 deletions portfolio/requirements.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 12bd739

Please sign in to comment.