Skip to content

Commit

Permalink
prevent setup workflow from running immediately on repo creation
Browse files Browse the repository at this point in the history
  • Loading branch information
mdorier committed Aug 7, 2024
1 parent 945c3b6 commit 77dc3ca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ name: Initial project setup

jobs:
setup:
if: ${{ !contains (github.repository, '/thallium-microservice-template') }}
# Don't run just after creating repo from template
if: ( github.run_number != 1 ) && ${{ !contains (github.repository, '/thallium-microservice-template') }}
name: Initial project setup
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 77dc3ca

Please sign in to comment.