Skip to content

Commit

Permalink
ci: add TagBot for subpackages
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal authored Dec 15, 2024
1 parent 2002bd4 commit 873aae4
Showing 1 changed file with 45 additions and 2 deletions.
47 changes: 45 additions & 2 deletions .github/workflows/TagBot.yml
Original file line number Diff line number Diff line change
@@ -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 }}"

0 comments on commit 873aae4

Please sign in to comment.