Skip to content

Commit 016e534

Browse files
committed
Update optimize-images.yml
1 parent 666f592 commit 016e534

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/optimize-images.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ permissions:
1616

1717
jobs:
1818
optimize-images-on-pr:
19-
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
19+
# We can't make commits on forks
20+
if: github.repository == 'github/docs-internal'
2021
runs-on: ubuntu-latest
2122
steps:
2223
- name: Check out repo on head ref

0 commit comments

Comments
 (0)