February 2021
Intermediate to advanced
292 pages
7h 37m
German
Quellcode für eine eigene Action, die automatisch neue Issues labelt (siehe in Kapitel 9 den Abschnitt »Eine eigene Action erstellen (für Fortgeschrittene)« ab Seite 212).
name: labeling_workflow
on:
issues:
types: [opened, edited, reopened]
jobs:
label_issue:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Print Hello world
run: echo Hello world!
- name: label-step
uses: ./.github/actions/issuelabeler
with:
repo-token: ${{secrets.GITHUB_TOKEN}}
name: "Issue labeler"
description: "automatically labels any new issue with the label 'new'"
runs:
using: "node12"
main: "index.js"
Read now
Unlock full access