Username of PAT creator is used as actor for issue added to project
kelly-sovacool opened this issue · comments
When using GitHub's built-in project automation workflows, a comment shows up in the issue thread indicating that a bot added/removed/etc the issue in the project board.
![image](https://private-user-images.githubusercontent.com/17768269/268008134-f3143cd8-cb97-4e5e-bfca-543b4e14351d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjI0MzQ1NzAsIm5iZiI6MTcyMjQzNDI3MCwicGF0aCI6Ii8xNzc2ODI2OS8yNjgwMDgxMzQtZjMxNDNjZDgtY2I5Ny00ZTVlLWJmY2EtNTQzYjRlMTQzNTFkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MzElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzMxVDEzNTc1MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ3OTg3MTYyNzdhZTJhODNhZDNkZTA2NmM0YmU0N2JlMGVhMTAwMWJkOTY5YzI2MDY3YmUzMWVmNjVhOGE4OTAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.yZ-MAjZ8c8b_Xibyy55PEnD2SHVlAY4ZS4W0IkGp3HU)
However, when using this action, the username of the person who created the PAT is shown as the actor that added/removed the issue in the project board.
![image](https://private-user-images.githubusercontent.com/17768269/268008555-8d146516-9633-4ca6-a51c-3044f3c82045.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjI0MzQ1NzAsIm5iZiI6MTcyMjQzNDI3MCwicGF0aCI6Ii8xNzc2ODI2OS8yNjgwMDg1NTUtOGQxNDY1MTYtOTYzMy00Y2E2LWE1MWMtMzA0NGYzYzgyMDQ1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MzElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzMxVDEzNTc1MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM1NDJhYWY5MjAwNWI5M2EwYzk2ZDhlNjE3OGIxZDE0ZjQ1YWYwZjk3ODI0YTZmM2EzZDc0MTY4NzJhMjgxODImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Kww80JMhfa4OrgjDARwzAZgNSGW91PgDnokYBUXx_r4)
That can get confusing as no person manually changed the issue in the project, it was actually the github actions workflow that did it. Is it possible to modify the actor of this action so that a bot is shown rather than the PAT creator?