Skip to content

Commit

Permalink
Update docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kostobog authored Nov 28, 2023
1 parent 0489dad commit 1241e29
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Print more info
env:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: echo "$GITHUB_CONTEXT"

- name: Exit if pull request is from a fork
run: |
if [ "${{ github.event_name }}" == "pull_request" ] && [ "${{ github.event.pull_request.head.repo.full_name }}" != "${{ github.event.repository.full_name }}" ]; then
echo "Skipping workflow as this pull request is from a fork."
exit 78
exit 0
fi
- uses: actions/checkout@v2

Expand Down

0 comments on commit 1241e29

Please sign in to comment.