fix: add required permissions for welcome action (#789)

This PR adds the required permissions for making comments on the issues
and pull requests

References:
-
https://github.com/jsonrainbow/json-schema/actions/runs/13372875791/job/37345272696#step:2:1
-
https://github.com/wow-actions/welcome/issues/9#issuecomment-2663235613
This commit is contained in:
Danny van der Sluijs 2025-02-21 10:31:03 +01:00 committed by GitHub
parent 7660882388
commit f84193ea05
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View File

@ -7,6 +7,9 @@ on:
jobs:
run:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: wow-actions/welcome@v1
with:

View File

@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Welcome first time contributors ([#782](https://github.com/jsonrainbow/json-schema/pull/782))
### Fixed
- Add required permissions for welcome action ([#789](https://github.com/jsonrainbow/json-schema/pull/789))
### Changed
- Used PHPStan's int-mask-of<T> type where applicable ([#779](https://github.com/jsonrainbow/json-schema/pull/779))
- Fixed some PHPStan errors ([#781](https://github.com/jsonrainbow/json-schema/pull/781))