Skip to content

Commit

Permalink
run on PR, not merge commit (github#31963)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ebonsignori authored Oct 21, 2022
1 parent 28b484c commit 156ddd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/link-check-on-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
push:
branches:
- main
pull_request:
pull_request_target:

permissions:
contents: read
Expand All @@ -26,7 +26,7 @@ concurrency:
jobs:
check-links:
runs-on: ${{ fromJSON('["ubuntu-latest", "ubuntu-20.04-xl"]')[github.repository == 'github/docs-internal'] }}
if: (github.repository == 'github/docs-internal' || github.repository == 'github/docs') && github.repository_owner == 'github'
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
steps:
- name: Checkout
uses: actions/checkout@dcd71f646680f2efd8db4afa5ad64fdcba30e748
Expand Down

0 comments on commit 156ddd7

Please sign in to comment.