mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 09:50:43 +00:00
0843f99b5b
## Description: With pull_request, the default GITHUB_TOKEN has read-only permissions on forked PRs. As a result, the auto-assign action (toshimaru/auto-author-assign) failed with: ``` Error: Resource not accessible by integration. ``` Using pull_request_target allows the workflow to run with write permissions on the base repository, enabling author assignment even for PRs opened from forks ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file - [x] I have added relevant tests to the test directory - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced ## Please put your Discord username so you can be contacted if a bug or regression is found: aotumuri
17 lines
306 B
YAML
17 lines
306 B
YAML
name: 🧼 PR
|
|
|
|
on:
|
|
pull_request_target:
|
|
types: [opened, reopened]
|
|
|
|
permissions:
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
auto-assign:
|
|
name: Auto-assign author
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 30
|
|
steps:
|
|
- uses: toshimaru/auto-author-assign@7e15cd70c245ad136377c3fab3479815df10d844
|