Not sure what is going on here, so I ran it again with debugging, but that still didn't help me figure it out.
##[debug]Evaluating condition for step: 'Run fpicalausa/remove-stale-branches@v2.0.1'
##[debug]Evaluating: success()
##[debug]Evaluating success:
##[debug]=> true
##[debug]Result: true
##[debug]Starting: Run fpicalausa/remove-stale-branches@v[2](https://github.com/*****************/actions/runs/9831423788/job/27298069675#step:2:2).0.1
##[debug]Loading inputs
##[debug]Evaluating: github.token
##[debug]Evaluating Index:
##[debug]..Evaluating github:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'token'
##[debug]=> '***'
##[debug]Result: '***'
##[debug]Loading env
Run fpicalausa/remove-stale-branches@v2.0.1
Branches updated before 2024-06-11T00:27:[3](https://github.com/*****************/actions/runs/9831423788/job/27298069675#step:2:3)4Z will be marked as stale
Branches marked stale before 202[4](https://github.com/*****************/actions/runs/9831423788/job/27298069675#step:2:4)-07-06T00:27:34Z will be removed
🛑 Failed to find author associated with branch BT-40[5](https://github.com/*****************/actions/runs/9831423788/job/27298069675#step:2:5)5_getConformityChapters. Use ignore-unknown-authors if this is expected.
::group::✅ branch 5245-ui_tailnumber_tweaks
✅ branch 5245-ui_tailnumber_tweaks
::group::✅ branch BT-3775_remove_aircraft_ui
✅ branch BT-3775_remove_aircraft_ui
::group::✅ branch BT-3825_dropbox
✅ branch BT-3825_dropbox
::group::✅ branch BT-4011_dashboard_NaN_issue
✅ branch BT-4011_dashboard_NaN_issue
/home/runner/work/_actions/fpicalausa/remove-stale-branches/v2.0.1/dist/index.js:34[6](https://github.com/*****************/actions/runs/9831423788/job/27298069675#step:2:6)27
throw new Error("Failed to find author for branch " + branch.branchName);
^
Error: Failed to find author for branch BT-4055_getConformityChapters
at /home/runner/work/_actions/fpicalausa/remove-stale-branches/v2.0.1/dist/index.js:3462[7](https://github.com/*****************/actions/runs/9831423788/job/27298069675#step:2:7):27
at Generator.next (<anonymous>)
at fulfilled (/home/runner/work/_actions/fpicalausa/remove-stale-branches/v2.0.1/dist/index.js:34444:5[8](https://github.com/Bluetail-aero/app/actions/runs/9831423788/job/27298069675#step:2:8))
at process.processTicksAndRejections (node:internal/process/task_queues:[9](https://github.com/*****************/actions/runs/9831423788/job/27298069675#step:2:9)5:5)
Node.js v20.13.1
##[debug]Node Action run completed with exit code 1
##[debug]Finishing: Run fpicalausa/remove-stale-branches@v2.0.1
So it appears that it is hitting the problem with BT-4055_getConformityChapters
From what I understand, it is looking for the author of the last commit on the branch.
But the author of the last commit on that branch is also the same user as other branches that are working just fine.
So I'm a bit confused about this.
And clearly I can use the flag mentioned to override it, but does that mean it will just leave those branches alone?
Not sure what is going on here, so I ran it again with debugging, but that still didn't help me figure it out.
So it appears that it is hitting the problem with
BT-4055_getConformityChapters
From what I understand, it is looking for the author of the last commit on the branch.
But the author of the last commit on that branch is also the same user as other branches that are working just fine.
So I'm a bit confused about this.
And clearly I can use the flag mentioned to override it, but does that mean it will just leave those branches alone?
Use ignore-unknown-authors if this is expected.