Skip to content

Enhance Typst Language Support #56

Enhance Typst Language Support

Enhance Typst Language Support #56

# Copyright (C) 2019-2025
# Julian Valentin, Daniel Spitzer, LTeX+ Development Community
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
name: Issue and pull request assignment
on:
issues:
types: [opened]
pull_request:
types: [opened]
jobs:
auto-assign:
runs-on: ubuntu-latest
permissions:
contents: read
issues: write
pull-requests: write
steps:
- name: "Checkout Repository"
uses: "actions/checkout@v4"
- name: Auto-assign issue
if: "${{ github.event_name == 'issues' }}"
run: gh issue edit ${{ github.event.issue.number }} --add-assignee spitzerd
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Auto-assign pull request
if: "${{ github.event_name == 'pull_request' }}"
run: gh pr edit ${{ github.event.pull_request.number }} --add-assignee spitzerd
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}