From 498bfc333f25902fca482d058bd83c5658a938b6 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 30 Apr 2026 12:31:50 +0000 Subject: [PATCH 1/3] Initial plan From 4462a1520b489f71a88b71a9cb6a19b86aaace25 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 30 Apr 2026 12:32:35 +0000 Subject: [PATCH 2/3] Skip gh-pages deploy for dependabot actor Agent-Logs-Url: https://github.com/FerreolS/InverseProblemsCookbook/sessions/99e5e942-df69-4048-a567-935bbcdc522c Co-authored-by: FerreolS <10050083+FerreolS@users.noreply.github.com> --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fa6079c..d4acd51 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -32,7 +32,7 @@ jobs: - run: mkdir pdf - run: mv *{.svg,.pdf} pdf/. - uses: peaceiris/actions-gh-pages@v4 - if: github.event_name == 'push' && github.ref == 'refs/heads/master' + if: github.event_name == 'push' && github.ref == 'refs/heads/master' && github.actor != 'dependabot[bot]' with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./pdf From 0c1337232e3c901fdfdf76f5e21fcbd50cd02c46 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 30 Apr 2026 12:34:41 +0000 Subject: [PATCH 3/3] Add contents: write permission to build job Agent-Logs-Url: https://github.com/FerreolS/InverseProblemsCookbook/sessions/99f2ddad-1f68-4690-99d2-557f5d50ce3c Co-authored-by: FerreolS <10050083+FerreolS@users.noreply.github.com> --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d4acd51..9e6b688 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,6 +19,8 @@ jobs: build: # The type of runner that the job will run on runs-on: ubuntu-latest + permissions: + contents: write # Steps represent a sequence of tasks that will be executed as part of the job steps: