Skip to content

Commit

Permalink
fix pipeline for Pull Request
Browse files Browse the repository at this point in the history
  • Loading branch information
tichon29 committed Feb 4, 2021
1 parent 8106487 commit 2ed721d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.ACCESS_TOKEN }}
token: ${{((github.event_name == 'push') && secrets.ACCESS_TOKEN) || ((github.event_name != 'push') && secrets.GITHUB_TOKEN)}}
fetch-depth: 0
- uses: actions/setup-node@v1
with:
Expand Down

0 comments on commit 2ed721d

Please sign in to comment.