From 7933d4b7d237a46aed417cbc07c4aeec91f00a53 Mon Sep 17 00:00:00 2001 From: franckgaga Date: Sat, 29 Aug 2026 10:35:53 -0400 Subject: [PATCH] ci: grant pages/id-token permissions and enable tag-triggered doc deploys in juliaci.yml Add explicit permissions (contents/pages/id-token) and enable pushes on tag refs so Documenter.jl can deploy docs from tag-created releases. Remove deprecated write-all usage.\n\nThis ensures the DocDeploy job can push to gh-pages and that docs are deployed on releases (tags).\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/workflows/juliaci.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/juliaci.yml b/.github/workflows/juliaci.yml index a1c88592b..f3d6f3189 100644 --- a/.github/workflows/juliaci.yml +++ b/.github/workflows/juliaci.yml @@ -1,9 +1,18 @@ name: Julia CI +permissions: + contents: write + pages: write + id-token: write + on: - push: {branches: [main,master]} - pull_request: {types: [opened,synchronize,reopened,ready_for_review,converted_to_draft]} - issue_comment: {types: [created]} + push: + branches: [main,master] + tags: ['v*'] + pull_request: + types: [opened,synchronize,reopened,ready_for_review,converted_to_draft] + issue_comment: + types: [created] workflow_dispatch: inputs: feature: @@ -20,6 +29,5 @@ jobs: include-windows-x86: false include-linux-x86: false include-macos-x64: false - permissions: write-all secrets: codecov_token: ${{ secrets.CODECOV_TOKEN }} \ No newline at end of file