Store reports - Action failed with "not found deploy key or tokens"
Following the tutorial at https://docs.microsoft.com/en-us/azure/static-web-apps/deploy-nextjs causes the github action/build Playwright tests to fail on the steps "store reports" and "notify dashboard". I'm not familiar with these actions, but it looks like there is some publishing going on to mspnp/intern-js-pipeline which I'm assuming all users don't have access to.
...
- name: Publish to external repo
if: always()
uses: peaceiris/[email protected]
with:
external_repository: mspnp/intern-js-pipeline
publish_branch: gh-pages
personal_token: ${{ secrets.PAT_TOKEN }}
publish_dir: ${{steps.download.outputs.download-path}}
destination_dir: test-reports/${{ github.repository }}
keep_files: true
user_name: "github-actions[bot]"
user_email: "github-actions[bot]@users.noreply.github.com"
...

Related PR: https://github.com/staticwebdev/nextjs-starter/pull/34
Misc.:
- The forked repository is a private repository
- Setup between github and Azure Static Web App works fine, and the workflow in
.github\workflow\azure-static-web-apps-<random>.ymldeploys the static code to both production and preview deployments fine.
Let me know if you need any more input.
Hitting the same issue with the blazor variation of the same get started topic.
All samples should have the test scripts and related actions removed now - do let me know if you continue to see issues.