dorny / paths-filter

Conditionally run actions based on files modified by PR, feature branch or pushed commits
MIT License
1.98k stars 230 forks source link

Token clarification #203

Closed rajathar closed 9 months ago

rajathar commented 9 months ago

Hi Team,

I was trying the GHA here for my repo. Observed that based on documentation the token is PAT that can be provided https://github.com/dorny/paths-filter/blob/master/README.md?plain=1#L147

While if I provide a PAT getting the below failure: "::error::Cannot read properties of undefined (reading 'number')"

Can you please suggest that if it's right to use the PAT here?

Version of GHA used: v2