1
0
mirror of synced 2026-01-08 12:01:53 -05:00

run on PR, not merge commit (#31963)

This commit is contained in:
Evan Bonsignori
2022-10-21 13:23:14 -07:00
committed by GitHub
parent 28b484c0a9
commit 156ddd74ad

View File

@@ -10,7 +10,7 @@ on:
push:
branches:
- main
pull_request:
pull_request_target:
permissions:
contents: read
@@ -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