-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into sjspielman/12-clone
- Loading branch information
Showing
9 changed files
with
226 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
body: | ||
- type: textarea | ||
attributes: | ||
label: Summary | ||
description: What problem or error do you need help with? | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Code or step | ||
description: What code or step did you try? | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Desired outcome | ||
description: What was the desired outcome? | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Observed outcome or error message | ||
description: What was the observed outcome and/or error message? Include screenshots as needed. | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Example | ||
description: Please provide any example code or links that will help reproduce the problem. For example, link the code in your branch that caused the error. | ||
validations: | ||
required: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
ableist | ||
ALSF | ||
bioinformatics | ||
Carpentries | ||
conda | ||
config | ||
DM | ||
doxxing | ||
formatters | ||
GitHub | ||
GitKraken | ||
JSON | ||
LGBTQ | ||
linter | ||
linter's | ||
linters | ||
LSfR | ||
macOS | ||
Miniconda | ||
nonconsensual | ||
OpenScPCA | ||
openscpca | ||
pre | ||
precommit | ||
README | ||
renv | ||
reproducibility | ||
ScPCA | ||
socio | ||
Stumptown | ||
trainings | ||
transphobic | ||
triaged | ||
WisCon | ||
WSL | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
This issue tracks the results from running the scheduled spellcheck workflow. | ||
This issue is filed whether there are errors or not. | ||
Please see the issue comment for specific errors. | ||
|
||
If there are no errors, this issue can be closed. | ||
|
||
## Issue checklist | ||
|
||
- [ ] Assign an OpenScPCA admin | ||
- [ ] Spell check errors have been fixed via a PR | ||
- [ ] Spell check workflow has been manually run to confirm spelling errors are fixed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
name: Check Spelling | ||
on: | ||
pull_request: # TEMPORARY | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "0 0 * * 1" # every Monday at midnight | ||
|
||
# From https://medium.com/@VeselyCodes/bi-weekly-github-actions-7bea6be7bd96 | ||
env: | ||
# The date of the first run of the action. | ||
FIRST_RUN_DATE: 2024-03-25 | ||
|
||
concurrency: | ||
# only one run per branch at a time | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
weekindex: | ||
if: ${{ github.event_name == 'schedule' }} | ||
runs-on: ubuntu-latest | ||
outputs: | ||
weekindex: ${{ steps.calculate.outputs.weekindex }} | ||
steps: | ||
- name: Calculate weekdiff | ||
id: calculate | ||
run: | | ||
current_date=$(date +%Y-%m-%d) | ||
start=$(date -d ${{ env.FIRST_RUN_DATE }} +%s) | ||
end=$(date -d $current_date +%s) | ||
weekdiff=$(((end-start) / 60 / 60 / 24 / 7)) | ||
weekindex=$((weekdiff % 4)) ##################### We want to run every 4 weeks! | ||
echo "weekindex=$weekindex" >> "$GITHUB_OUTPUT" | ||
spellcheck: | ||
if: ${{ needs.weekindex.outputs.weekindex == 0 || github.event_name != 'schedule' }} | ||
runs-on: ubuntu-latest | ||
name: Spell check files | ||
permissions: | ||
contents: read | ||
issues: write | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Spell check action | ||
uses: alexslemonade/spellcheck@v0 | ||
id: spell | ||
with: | ||
dictionary: .github/components/dictionary.txt | ||
|
||
- name: Upload spell check errors | ||
uses: actions/upload-artifact@v4 | ||
id: artifact-upload-step | ||
with: | ||
name: spell_check_errors | ||
path: spell_check_errors.tsv | ||
|
||
# # Uncomment this job at OpenScPCA Launch | ||
# - name: Post issue with spellcheck results | ||
# id: spellissue | ||
# uses: peter-evans/create-issue-from-file@v5 | ||
# with: | ||
# title: Monthly spellcheck results | ||
# content-filepath: .github/cron-issue-templates/spellcheck-issue-template.md | ||
# labels: | | ||
# OpenScPCA admin | ||
# spelling | ||
# | ||
# # Uncomment this job at OpenScPCA Launch | ||
# - name: Comment artifact on issue | ||
# uses: peter-evans/create-or-update-comment@v4 | ||
# with: | ||
# issue-number: ${{ steps.spellissue.outputs.issue-number }} | ||
# body: | | ||
# The spellchecker found **${{ steps.spell.outputs.error_count }} errors**. | ||
# | ||
# [Click to download the spelling errors TSV.](${{ steps.artifact-upload-step.outputs.artifact-url }}) | ||
|
||
|
||
- name: Fail if there are spelling errors | ||
if: steps.spell.outputs.error_count > 0 | ||
run: | | ||
echo "There were ${{ steps.spell.outputs.error_count }} errors" | ||
column -t spell_check_errors.tsv | ||
exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
# OpenScPCA-analysis | ||
# OpenScPCA-analysis | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters