Check repo in docker workflow (#860)
This commit is contained in:
parent
9286d0d828
commit
7ec9dbf80c
7
.github/workflows/docker.yml
vendored
7
.github/workflows/docker.yml
vendored
@ -20,6 +20,13 @@ jobs:
|
|||||||
id-token: write
|
id-token: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: Check Repository
|
||||||
|
run: |
|
||||||
|
if [ "${{ github.repository }}" != "Pumpkin-MC/Pumpkin" ]; then
|
||||||
|
echo "Not the target repository. Exiting successfully."
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user