Skip to content

Commit

Permalink
feat(workflow-dispatcher): .lintr* changes trigger lint workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
RasmusSkytte committed Oct 29, 2024
1 parent fc6d2ec commit 0bd07c3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/workflow-dispatcher.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ jobs:
steps.changed-files-yaml.outputs.R_any_changed == 'true' ||
steps.changed-files-yaml.outputs.test_any_changed == 'true' ||
steps.changed-files-yaml.outputs.man_any_changed == 'true' ||
steps.changed-files-yaml.outputs.vignette_any_changed == 'true'
steps.changed-files-yaml.outputs.vignette_any_changed == 'true' ||
steps.changed-files-yaml.outputs.lintr_any_changed == 'true'
)
) }}

Expand Down Expand Up @@ -194,6 +195,8 @@ jobs:
- .github/templates/README_template.Rmd
description:
- DESCRIPTION
lintr:
- .lintr*
- name: Determine branch name
id: branch_name
Expand Down Expand Up @@ -237,6 +240,7 @@ jobs:
echo "vignettes/ directory changes: ${{ steps.changed-files-yaml.outputs.vignette_any_changed }}"
echo "README.Rmd changed: ${{ steps.changed-files-yaml.outputs.readme_any_changed }}"
echo "DESCRIPTION changed: ${{ steps.changed-files-yaml.outputs.description_any_changed }}"
echo "lintr files changed: ${{ steps.changed-files-yaml.outputs.lintr_any_changed }}"
echo "main branch affected: ${{ steps.main_branch_affected.outputs.main_branch_affected }}"
echo "branch name: ${{ steps.branch_name.outputs.branch_name }}"
echo "cache_version: ${{ steps.cache_version.outputs.cache_version }}"
Expand Down

0 comments on commit 0bd07c3

Please sign in to comment.