mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Switch pr workflow back to pull_request_target
This commit is contained in:
9
.github/workflows/pr-auto-manager.yml
vendored
9
.github/workflows/pr-auto-manager.yml
vendored
@@ -1,8 +1,7 @@
|
||||
name: 🔀 Pull Request Manager
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
pull_request: # TODO: This is for texting, and should not be merged into staging. Staging should use 'pull_request_target'
|
||||
pull_request_target:
|
||||
types: [opened, synchronize, reopened, edited, labeled, unlabeled, closed]
|
||||
pull_request_review_comment:
|
||||
types: [created]
|
||||
@@ -91,6 +90,12 @@ jobs:
|
||||
# Only runs on comments not done by the github actions bot
|
||||
if: github.event_name == 'pull_request_review_comment' && github.actor != 'github-actions[bot]'
|
||||
|
||||
# Override permissions, issue labeler needs issues write access
|
||||
permissions:
|
||||
contents: read
|
||||
issues: write
|
||||
pull-requests: write
|
||||
|
||||
steps:
|
||||
- name: Remove Stale Label
|
||||
# 🤖 Issues Helper
|
||||
|
Reference in New Issue
Block a user