rossjrw / pr-preview-action

GitHub Action that deploys a pull request preview to GitHub Pages, similar to Vercel and Netlify, and cleans up after itself.
https://github.com/marketplace/actions/deploy-pr-preview
MIT License
255 stars 39 forks source link

docs: Add missing required permissions to README (fixes #60) #61

Closed vorburger closed 8 months ago

vorburger commented 8 months ago

fixes #60

vorburger commented 8 months ago

Actually, this works for me, on https://github.com/www-learn-study/saraswati.learn.study/blob/433f4830ce120b85c61adcdb86c35c2c29314f15/.github/workflows/preview.yaml#L25, but only because I use an (alternative) deploy-repository: - otherwise you need contents: write (and issues: write may not be needed, only pull-requests: write).

Let me close this in favour of the existing #37 which I hadn't seen before but which seems better.