Skip to content

Commit

Permalink
Test another trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
jpquast committed Nov 3, 2024
1 parent c84249f commit e55272d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,14 @@ on:
push:
branches: [main, master]
pull_request:
workflow_run:
workflows: ["Style"]
types:
- completed

name: R-CMD-check.yaml

permissions: read-all

jobs:
R-CMD-check:
if: startsWith(github.event.comment.body, 'Style workflow completed. Please trigger the check workflow.')
runs-on: ${{ matrix.config.os }}

name: ${{ matrix.config.os }} (${{ matrix.config.r }})
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/format-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,12 @@ jobs:
else
echo "No changes to commit."
fi
- name: Comment on PR
if: github.event_name == 'pull_request' # Only run this if it's a PR
run: |
curl -X POST \
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github.v3+json" \
-d '{"body":"Style workflow completed. Please trigger the check workflow."}' \
https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/comments
2 changes: 1 addition & 1 deletion R/calculate_diff_abundance.R
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ Please provide a valid reference condition.", prefix = "\n", initial = ""))
}
}

if (method == "t-test_mean_sd") {
if (method == "t-test_mean_sd"){
if (ref_condition == "all") {
# creating all pairwise comparisons
all_conditions <- unique(dplyr::pull(data, {{ condition }}))
Expand Down

0 comments on commit e55272d

Please sign in to comment.