Skip to content

Commit b89047b

Browse files
committed
ci: Cosmetics
1 parent c35ba36 commit b89047b

3 files changed

Lines changed: 11 additions & 3 deletions

File tree

.github/workflows/commit/action.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,14 @@ runs:
2222
fi
2323
shell: bash
2424

25+
- name: Write diff and fail for workflow_dispatch
26+
if: steps.check.outputs.has_changes == 'true' && github.event_name == 'workflow_dispatch'
27+
run: |
28+
echo "Changes detected in workflow_dispatch build. Diff:"
29+
git diff
30+
exit 1
31+
shell: bash
32+
2533
- name: Determine repository state
2634
if: steps.check.outputs.has_changes == 'true'
2735
id: repo-state

.github/workflows/copilot-setup-steps.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ on:
66
workflow_dispatch:
77
push:
88
paths:
9-
- .github/workflows/copilot-setup-steps.yml
9+
- .github/workflows/copilot-setup-steps.yaml
1010
pull_request:
1111
paths:
12-
- .github/workflows/copilot-setup-steps.yml
12+
- .github/workflows/copilot-setup-steps.yaml
1313

1414
jobs:
1515
# The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot.

.github/workflows/dep-suggests-matrix/action.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ get_deps <- function() {
1515

1616
# Too big to fail, or can't be avoided:
1717
off_limits <- c("testthat", "rmarkdown", "rcmdcheck", deps_df_hard, deps_df_base)
18-
off_limits_dep <- unlist(tools::package_dependencies(off_limits, db = installed.packages(), recursive = TRUE, which = "strong"))
18+
off_limits_dep <- unlist(tools::package_dependencies(off_limits, recursive = TRUE, which = "strong"))
1919
setdiff(packages, c(off_limits, off_limits_dep))
2020
}
2121

0 commit comments

Comments
 (0)