You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be good to detect changes under certain directories (e.g. docs/) and only update the description in that situation. Example of a potential input for the action:
file-path:
description: "Path where to check for file modifications"default: "docs/"required: false
Note we could use github.rest.pulls.listFiles to get the files changed in the PR:
const{data: pull_files}=awaitgithub.rest.pulls.listFiles({owner: context.repo.owner,repo: context.repo.repo,pull_number: context.issue.number,});for(letfileofpull_files){// do something here}
The text was updated successfully, but these errors were encountered:
It would be good to detect changes under certain directories (e.g.
docs/
) and only update the description in that situation. Example of a potential input for the action:Note we could use
github.rest.pulls.listFiles
to get the files changed in the PR:The text was updated successfully, but these errors were encountered: