diff --git a/.github/workflows/SnoopCompile.yml b/.github/workflows/SnoopCompile.yml index 814d19eb..01d73ee8 100644 --- a/.github/workflows/SnoopCompile.yml +++ b/.github/workflows/SnoopCompile.yml @@ -69,7 +69,10 @@ jobs: uses: actions/download-artifact@v2 - name: CompileBot postprocess - run: julia -e 'using Pkg; Pkg.add( PackageSpec(name = "CompileBot", version = "1") ); using CompileBot; CompileBot.postprocess();' + run: | + ls + if ! grep -m1 -q 'format' src/precompile_includer.jl; then sed -i '1 i\#! format: off' src/precompile_includer.jl; fi + julia -e 'using Pkg; Pkg.add( PackageSpec(name = "CompileBot", version = "1") ); using CompileBot; CompileBot.postprocess();' - name: Create Pull Request uses: peter-evans/create-pull-request@v3