Skip to content

Commit

Permalink
ci: nicer TagBot setup
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal authored Dec 16, 2024
1 parent a7e5574 commit 108afd8
Showing 1 changed file with 21 additions and 33 deletions.
54 changes: 21 additions & 33 deletions .github/workflows/TagBot.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: TagBot

on:
issue_comment:
types:
Expand All @@ -7,6 +8,7 @@ on:
inputs:
lookback:
default: "3"

permissions:
actions: read
checks: read
Expand All @@ -20,8 +22,9 @@ permissions:
repository-projects: read
security-events: read
statuses: read

jobs:
TagBot:
TagBot-Lux:
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
runs-on: ubuntu-latest
steps:
Expand All @@ -30,39 +33,24 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
ssh: ${{ secrets.DOCUMENTER_KEY }}
- name: Tag LuxCore
uses: JuliaRegistries/TagBot@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
ssh: ${{ secrets.DOCUMENTER_KEY }}
subdir: "lib/LuxCore"
- name: Tag LuxCUDA
uses: JuliaRegistries/TagBot@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
ssh: ${{ secrets.DOCUMENTER_KEY }}
subdir: "lib/LuxCUDA"
- name: Tag LuxLib
uses: JuliaRegistries/TagBot@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
ssh: ${{ secrets.DOCUMENTER_KEY }}
subdir: "lib/LuxLib"
- name: Tag LuxTestUtils
uses: JuliaRegistries/TagBot@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
ssh: ${{ secrets.DOCUMENTER_KEY }}
subdir: "lib/LuxTestUtils"
- name: Tag MLDataDevices
uses: JuliaRegistries/TagBot@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
ssh: ${{ secrets.DOCUMENTER_KEY }}
subdir: "lib/MLDataDevices"
- name: Tag WeightInitializers

TagBot-Subpackages:
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
package:
- LuxCUDA
- LuxCore
- LuxLib
- LuxTestUtils
- MLDataDevices
- WeightInitializers
steps:
- name: Tag ${{ matrix.package }}
uses: JuliaRegistries/TagBot@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
ssh: ${{ secrets.DOCUMENTER_KEY }}
subdir: "lib/WeightInitializers"
subdir: "lib/${{ matrix.package }}"

0 comments on commit 108afd8

Please sign in to comment.