Enhance Typst Language Support #56
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 }} |