The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
chore: update `pull_request_target` types, harden (#33096)
Mason Daugherty50012d95e26f
diff --git a/.github/workflows/pr_labeler_file.yml b/.github/workflows/pr_labeler_file.ymlindex 503f657750..1475606fa5 100644--- a/.github/workflows/pr_labeler_file.yml+++ b/.github/workflows/pr_labeler_file.yml@@ -5,8 +5,10 @@name: "🏷️ Pull Request Labeler"on:+ # Safe since we're not checking out or running the PR's code+ # Never check out the PR's head in a pull_request_target jobpull_request_target:- types: [opened, synchronize, reopened]+ types: [opened, synchronize, reopened, edited]jobs:labeler:diff --git a/.github/workflows/pr_labeler_title.yml b/.github/workflows/pr_labeler_title.ymlindex 43f0547cbe..04d770c57f 100644--- a/.github/workflows/pr_labeler_title.yml+++ b/.github/workflows/pr_labeler_title.yml@@ -5,7 +5,9 @@name: "🏷️ PR Title Labeler"on:- pull_request:+ # Safe since we're not checking out or running the PR's code+ # Never check out the PR's head in a pull_request_target job+ pull_request_target:types: [opened, synchronize, reopened, edited]jobs:@@ -19,7 +21,8 @@ jobs:steps:- name: Label PR based on title- uses: grafana/[email protected]+ # Archived repo; latest commit (v0.1.0)+ uses: grafana/pr-labeler-action@f19222d3ef883d2ca5f04420fdfe8148003763f0with:token: ${{ secrets.GITHUB_TOKEN }}configuration-path: .github/pr-title-labeler.yml