Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meta: migrate labelling to actions (Discuss / WIP) #52695

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
202 changes: 0 additions & 202 deletions .github/label-pr-config.yml

This file was deleted.

17 changes: 17 additions & 0 deletions .github/workflows/initialize-pr.yml
@@ -0,0 +1,17 @@
name: Initialize Pull Request

permissions:
contents: read

on:
pull_request:
types: [opened]
jobs:
find:
if: github.repository == 'nodejs/node'
runs-on: ubuntu-latest
steps:
- name: Initialize Pull Request
uses: redyetidev/node-actions-runner@v0.0.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could this be GH_USER_TOKEN?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Forks don't have access to GH_USER_TOKEN, so no (and let's not go the pull_request_target way, it's not worth it because of the bad DX and the security aspects).

18 changes: 0 additions & 18 deletions .github/workflows/label-pr.yml

This file was deleted.