github / issue-labeler

An action for automatically labelling issues

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

issue-labeler does not run on issues created by github-actions bot

MyNameIsOka opened this issue · comments

commented

I am using the Github Action Manual Approval so that developers need to approve a deployment. This automatically creates an issue which I would like to automatically add the label hidden to.

When I manually create an issue, the issue-labeler correctly runs and adds a label.
However, when the issue is automatically created/closed by the Manual Approval Github Action, the issue-labeler does not run.

Does anyone know why that is or how to get the labeler to run?

commented

Subsequent workflows are not triggered when using the default token (GITHUB_TOKEN). This is meant to prevent you from accidentally building recursive workflows that chew up your minutes. You will have to use a PAT to work around that:

If you do want to trigger a workflow from within a workflow run, you can use a GitHub App installation access token or a personal access token instead of GITHUB_TOKEN to trigger events that require a token.