nmfs-ost/ghactions4r

[Feature]: make build triggers more selective

Open

#74 opened on Jun 2, 2023

 (1 comment) (0 reactions) (1 assignee)R (1 fork)auto 404
good first issuerefactor

Repository metrics

Stars
 (16 stars)
PR merge metrics
 (PR metrics pending)

Description

Is your feature request related to a problem? Please describe.

I noticed the build trigger for doc and style from the template runs on push to main - it could be more selective, e.g.,

on:
  # workflow_dispatch:
  push:
    paths:
      - 'R/**'
      - 'tests/**'
      - 'vignettes/**'
    branches: [main]

Describe the solution you would like.

look at the templates and modify them to be more selective

Describe alternatives you have considered

leave as is, which are simpler and easier to understand.

Additional context

No response

Contributor guide