[ci skip] ci: Don't run actions twice

This commit is contained in:
NotMyFault
2022-01-31 21:12:00 +01:00
parent 9ba2b62fc2
commit 0d78ba5f35
3 changed files with 4 additions and 2 deletions

View File

@ -4,6 +4,7 @@ on: [ pull_request, push ]
jobs:
build:
if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}
runs-on: ubuntu-latest
steps:
- name: Checkout Repository

View File

@ -11,6 +11,7 @@ on:
jobs:
update_release_draft:
if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v5.17.6