Skip to content

Commit

Permalink
Fixup welcome-newcomers.yaml (#19039)
Browse files Browse the repository at this point in the history
- Changes the name to be human-friendly
- Changes the trigger so it has access to secrets
  - `pull_request_target` is safe because we don't check out the repo

---------

Co-authored-by: Stu Hood <stuhood@gmail.com>
  • Loading branch information
thejcannon and stuhood authored May 18, 2023
1 parent 7fc7534 commit a267fef
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/welcome-newcomers.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
name: first-interaction
name: Say Hello to First-timers

on:
issues:
types: [opened]
pull_request:
branches: [main]
# NB: This is safe since we don't checkout the repo
# See https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
pull_request_target:
types: [opened]
branches: [main]

jobs:
check_for_first_interaction:
Expand Down

0 comments on commit a267fef

Please sign in to comment.