From 873aae47c10bcecfbfb5c3f431a322d5b1f84665 Mon Sep 17 00:00:00 2001 From: Avik Pal Date: Sun, 15 Dec 2024 22:00:59 +0530 Subject: [PATCH] ci: add TagBot for subpackages --- .github/workflows/TagBot.yml | 47 ++++++++++++++++++++++++++++++++++-- 1 file changed, 45 insertions(+), 2 deletions(-) diff --git a/.github/workflows/TagBot.yml b/.github/workflows/TagBot.yml index f49313b66..8888e2f65 100644 --- a/.github/workflows/TagBot.yml +++ b/.github/workflows/TagBot.yml @@ -1,15 +1,58 @@ name: TagBot + on: issue_comment: types: - created workflow_dispatch: + inputs: + lookback: + default: "3" + +permissions: + actions: read + checks: read + contents: write + deployments: read + issues: read + discussions: read + packages: read + pages: read + pull-requests: read + repository-projects: read + security-events: read + statuses: read + jobs: - TagBot: + TagBot-NonlinearSolve: if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot' runs-on: ubuntu-latest steps: - - uses: JuliaRegistries/TagBot@v1 + - name: Tag NonlinearSolve + uses: JuliaRegistries/TagBot@v1 with: token: ${{ secrets.GITHUB_TOKEN }} ssh: ${{ secrets.DOCUMENTER_KEY }} + + TagBot-Subpackages: + if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot' + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + package: + - BracketingNonlinearSolve + - NonlinearSolveBase + - NonlinearSolveFirstOrder + - NonlinearSolveQuasiNewton + - NonlinearSolveSpectralMethods + - SCCNonlinearSolve + - SciMLJacobianOperators + - SimpleNonlinearSolve + steps: + - name: Tag ${{ matrix.package }} + uses: JuliaRegistries/TagBot@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }} + ssh: ${{ secrets.DOCUMENTER_KEY }} + subdir: "lib/${{ matrix.package }}"