Skip to content

kostrykin/label-semester-issue-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Assign semester labels to new issues

Assigns semester labels to newly created issues based on the date when the issue was opened (e.g., "WS 24/25").

Note

Right now only winter term labels are supported (i.e. "WS", not "SS").

In this repository, the action will be used for any issue labeled with example when created (list of examples).


Steps required to set this action up for a repository:

  1. The workflow should be triggered by newly opened issues:
    on:
      issues:
        types: [opened]
  2. Make sure the workflow job has the following permissions:
    permissions:
      issues: write
  3. Add the action to the workflow:
    - uses: kostrykin/label-semester-issue-action@v1.0.0
    If you want you can configure the color of the labels:
      with:
        color: FF0000

For a full example, see the workflow file .github/workflows/example.yml and the example/ directory.

List of further examples: