Skip to content

Commit

Permalink
Skip autosquash for forks
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Oct 25, 2020
1 parent ce9ff45 commit fa8adad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/autosquash.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ jobs:
autosquash:
name: Autosquash
runs-on: ubuntu-latest
if: ${{ github.repository == 'aio-libs/aiohttp' }} # not awailable for forks, skip the workflow
# not awailable for forks, skip the workflow
if: ${{ github.event.pull_request.head.repo.full_name == 'aio-libs/aiohttp' }}
steps:
- id: generate_token
uses: tibdex/github-app-token@v1
Expand Down

0 comments on commit fa8adad

Please sign in to comment.