diff --git a/.github/workflows/Formatter.yml b/.github/workflows/Formatter.yml index 84e139e..b949567 100644 --- a/.github/workflows/Formatter.yml +++ b/.github/workflows/Formatter.yml @@ -33,6 +33,10 @@ jobs: #Only runs if triggered manually if: ${{github.event_name == 'workflow_dispatch' }} uses: actions/checkout@v4 + - name: Checkout repo (Push to main) + #Only runs if triggered manually + if: ${{github.event_name == 'push' }} + uses: actions/checkout@v4 - name: Setup Java uses: actions/setup-java@v4 with: