Skip to content

Commit

Permalink
fix slash workflow syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
bernt-matthias authored and peterjc committed Dec 6, 2022
1 parent 47a3220 commit a6b5567
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/slash.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
# workaround for checking availablity of secret https://github.com/actions/runner/issues/520
env:
PAT: ${{ secrets.PAT }}
if: github.repository_owner == 'peterjc' and env.PAT != ''
if: ${{ ( github.repository_owner == 'peterjc' ) && ( env.PAT != '' ) }}
uses: peter-evans/slash-command-dispatch@v3
with:
token: ${{ secrets.PAT }}
Expand Down

0 comments on commit a6b5567

Please sign in to comment.