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
We've switched to pull_request_target as trigger for publishing, but now we're getting issues with this:
2s
Run NuGet/login@v1
Error: Token exchange failed (HTTP 401) at https://www.nuget.org/api/v2/token. Make sure you are using the username of the policy creator, not the policy owner: The GitHub Actions event 'pull_request_target' is not allowed.
We've switched to
pull_request_targetas trigger for publishing, but now we're getting issues with this:2s Run NuGet/login@v1 Error: Token exchange failed (HTTP 401) at https://www.nuget.org/api/v2/token. Make sure you are using the username of the policy creator, not the policy owner: The GitHub Actions event 'pull_request_target' is not allowed.https://productionresultssa5.blob.core.windows.net/actions-results/7cbca5ec-3871-47cc-aafd-480ae47163e1/workflow-job-run-b1058215-f96b-590c-a256-01f701274638/logs/job/job-logs.txt?rsct=text%2Fplain&se=2026-05-16T07%3A20%3A52Z&sig=YcwPJBdpuXEsCmLtWDeO33xhk8dEOu5Hua%2BZ8B9mq4E%3D&ske=2026-05-16T10%3A30%3A04Z&skoid=ca7593d4-ee42-46cd-af88-8b886a2f84eb&sks=b&skt=2026-05-16T06%3A30%3A04Z&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skv=2025-11-05&sp=r&spr=https&sr=b&st=2026-05-16T07%3A10%3A47Z&sv=2025-11-05
It seems to work in Chronicle:
https://github.com/Cratis/Chronicle/blob/main/.github/workflows/publish.yml