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:
- The workflow should be triggered by newly opened issues:
on: issues: types: [opened]
- Make sure the workflow job has the following permissions:
permissions: issues: write
- Add the action to the workflow:
If you want you can configure the color of the labels:
- uses: kostrykin/[email protected]
with: color: FF0000
For a full example, see the workflow file .github/workflows/example.yml and the example/ directory.
List of further examples: