Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 917: Create a markdown with the results of the synthetic recovery runs #925

Closed
wants to merge 37 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
2e2aa5d
add .md file
Jan 10, 2025
e36e89b
add figs not on GH as a test, run eval in actions
Jan 10, 2025
4eeab09
update to include infection figures
Jan 10, 2025
babe423
remove old commits of figures
Jan 10, 2025
b4edff5
add crete.dir to plotting function so saves if figs not committed
kaitejohnson Jan 12, 2025
0f70a09
add run of eval_rt.R
kaitejohnson Jan 12, 2025
1014a3d
Merge branch 'main' into 197-synth-rec-md
kaitejohnson Jan 12, 2025
1245c9f
Attempt to render and post as a comment the markdown
kaitejohnson Jan 12, 2025
bc87a1a
fix typo
kaitejohnson Jan 12, 2025
a1f5f18
remove slash
kaitejohnson Jan 12, 2025
03c144e
rmarkdown as pkg
kaitejohnson Jan 12, 2025
6f8eb27
test removing other R script
kaitejohnson Jan 13, 2025
5871bd2
copy render readme package install
kaitejohnson Jan 13, 2025
673e7e2
setup panic
kaitejohnson Jan 13, 2025
635c8f1
run both scripts
kaitejohnson Jan 13, 2025
4fc2f3f
remove eval_rt to test
kaitejohnson Jan 13, 2025
07b97a3
remove .md dependency on eval_rt
kaitejohnson Jan 13, 2025
357d4e0
try specifying artifact in posting comment
kaitejohnson Jan 13, 2025
10c5f1a
try a different PR artifact
kaitejohnson Jan 13, 2025
c56fcdf
add prefix
kaitejohnson Jan 13, 2025
e1e8ba3
typo
kaitejohnson Jan 13, 2025
a88ec7b
try live-codes
kaitejohnson Jan 13, 2025
7a91701
remove message
kaitejohnson Jan 13, 2025
e1c88a6
add back eval_rt with extra packages
kaitejohnson Jan 13, 2025
cef50e0
add back in eval rt figs to md
kaitejohnson Jan 13, 2025
5c0faba
use live-codes for previewing artifact
kaitejohnson Jan 13, 2025
934862d
create new live codes action to comment
kaitejohnson Jan 13, 2025
be3b018
add .livecodes directory
kaitejohnson Jan 13, 2025
715f96c
Delete .github/workflows/comment-markdown
kaitejohnson Jan 13, 2025
885ee49
Create comment-markdown.yaml
kaitejohnson Jan 13, 2025
5c90c24
add comment to synthetic-validation action
kaitejohnson Jan 14, 2025
20a9a1f
remove completion criteria since in one workflow
kaitejohnson Jan 14, 2025
98f91cc
remove arrow
kaitejohnson Jan 14, 2025
05c7524
add back in
kaitejohnson Jan 14, 2025
10dbfef
try adding back in if statements
kaitejohnson Jan 14, 2025
6345ab5
remove workflow complete if statement
kaitejohnson Jan 14, 2025
ec861e5
remove if
kaitejohnson Jan 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Create comment-markdown.yaml
kaitejohnson authored Jan 13, 2025
commit 885ee4963f9daa135bc614fac8556583e0d500db
21 changes: 21 additions & 0 deletions .github/workflows/comment-markdown.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: "Comment with markdown"

on:
workflow_run:
workflows: ["Synthetic validation check"] # the workflow that created the artifact
types:
- completed

jobs:
upload:
runs-on: ubuntu-latest
permissions:
pull-requests: write
if: >
github.event.workflow_run.event == 'pull_request' &&
github.event.workflow_run.conclusion == 'success'

steps:
- uses: live-codes/pr-comment-from-artifact@v1
with:
GITHUB_TOKEN: ${{ github.token }}