mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-21 06:53:17 +08:00
46136b5632
GitHub Actions can't comment on PRs, if the PR is made from a forked repo, as [the github token won't have write permissions][1]. However, we can instead use GitHub Actions' [Adding a Job Summary][2] feature, which prints some custom output for each job. [1]: https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs#changing-the-permissions-in-a-forked-repository [2]: https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary Fix: e0448a7b7be4fcad775f9dd0292f49845c84836c