mirror of
https://github.com/jellyfin/jellyfin-vue.git
synced 2026-09-02 21:04:08 +03:00
Replace pull_request_target with pull_request
This commit is contained in:
@@ -10,12 +10,12 @@ on:
|
||||
- master
|
||||
paths-ignore:
|
||||
- "**/*.md"
|
||||
pull_request_target:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
compose-comment:
|
||||
name: Compose PR comment
|
||||
if: ${{ always() && !cancelled() && github.event_name == 'pull_request_target' }}
|
||||
if: ${{ always() && !cancelled() && github.event_name == 'pull_request' }}
|
||||
uses: ./.github/workflows/job_messages.yml
|
||||
with:
|
||||
commit: ${{ github.event.pull_request.head.sha }}
|
||||
@@ -24,7 +24,7 @@ jobs:
|
||||
|
||||
push-comment:
|
||||
name: Push comment to PR 🖥️
|
||||
if: ${{ always() && !cancelled() && github.event_name == 'pull_request_target' && needs.compose-comment.result == 'success' }}
|
||||
if: ${{ always() && !cancelled() && github.event_name == 'pull_request' && needs.compose-comment.result == 'success' }}
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- compose-comment
|
||||
@@ -39,7 +39,7 @@ jobs:
|
||||
|
||||
project:
|
||||
name: Project board 📊
|
||||
if: ${{ github.event_name == 'pull_request_target' }}
|
||||
if: ${{ github.event_name == 'pull_request' }}
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
@@ -57,7 +57,7 @@ jobs:
|
||||
steps:
|
||||
- name: Label PR depending on modified files
|
||||
uses: actions/labeler@v5.0.0
|
||||
if: ${{ github.event_name == 'pull_request_target' }}
|
||||
if: ${{ github.event_name == 'pull_request' }}
|
||||
continue-on-error: true
|
||||
with:
|
||||
repo-token: "${{ secrets.JF_BOT_TOKEN }}"
|
||||
|
||||
Reference in New Issue
Block a user