Skip to content

Crawlee—A web scraping and browser automation library for Node.js to build reliable crawlers. In JavaScript and TypeScript. Extract data for AI, LLMs, RAG, or GPTs. Download HTML, PDF, JPG, PNG, and other files from websites. Works with Puppeteer, Playwright, Cheerio, JSDOM, and raw HTTP. Both headful and headless mode. With proxy rotation.

chore: add t-tooling label to new PRs as well (#4222)

Vlad Franguc85fe1085583
diff --git a/.github/workflows/update_new_issue.yml b/.github/workflows/update_new_issue.yml
index 8882d85e2..89e1f6534 100644
--- a/.github/workflows/update_new_issue.yml
+++ b/.github/workflows/update_new_issue.yml
@@ -1,19 +1,24 @@
-name: Update new issue
+name: Update new issue or PR
on:
issues:
types:
- opened
+ # pull_request_target so the token has write access for PRs from forks; no code is checked out here
+ pull_request_target:
+ types:
+ - opened
jobs:
label_issues:
- name: Label issues
+ name: Label issues and PRs
runs-on: ubuntu-22.04
permissions:
issues: write
+ pull-requests: write
steps:
- # Add the "t-tooling" label to all new issues
+ # Add the "t-tooling" label to all new issues and PRs
- uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
with:
script: |