nmfs-ost/ghactions4r

[Feature]: make build triggers more selective

Aperta

#74 aperta il 2 giu 2023

 (1 commento) (0 reazioni) (1 assegnatario)R (1 fork)auto 404
good first issuerefactor

Metriche repository

Star
 (16 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor