Skip to content

Commit 624218a

Browse files
committed
forkしたリポジトリから元リポジトリへPRを出した際はdockerイメージのpushを行わない
1 parent 988081f commit 624218a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/pr-docker-hato-bot.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
COMPOSE_DOCKER_CLI_BUILD: 1
1919
permissions:
2020
packages: write
21+
if: github.repository == github.event.pull_request.head.repo.full_name
2122
steps:
2223
- uses: actions/checkout@v3
2324
with:

0 commit comments

Comments
 (0)