Skip to content

Commit

Permalink
ci: add missing github.actor
Browse files Browse the repository at this point in the history
  • Loading branch information
kilee1230 committed Dec 23, 2023
1 parent 227627d commit 2898932
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 @@ -13,7 +13,7 @@ jobs:
steps:
- name: Check if it's a repository creation event
run: |
if [ "${{ github.event_name }}" == 'push' ] && [ "${{ github.repository }}" != "express-api-template" ]; then
if [ "${{ github.event_name }}" == 'push' ] && [ "${{ github.actor }}/${{ github.repository }}" != "express-api-template" ]; then
echo "Stopping job because it's a repository creation event."
exit 78 # This will exit the script and stop the job
fi
Expand Down

0 comments on commit 2898932

Please sign in to comment.