Skip to content

Remove pull_request_target from workflows across the org #586

Open
7 of 38 issues completed
Open

Description

@toddbaert

pull_request_target runs fork PRs with a write token and secrets; GitHub recommends avoiding it. None of our usages check out PR code, but we don't need it in these workflows. See open-feature/php-sdk-contrib#216.

Changes

  1. Update .github/workflow-templates/lint-pr.yml: use pull_request, drop the sticky-comment steps (need write), add permissions: pull-requests: read, pin SHAs.
  2. Copy it to each repo as .github/workflows/lint-pr.yml, replacing pr-lint, pr-title, etc.
  3. auto-merge (ruby repos): switch to pull_request; check github.event.pull_request.user.login instead of github.actor.

Sub-issues

Sub-issues

7 of 38 Issues completed
Loading 38 sub-issues

Activity

  1. 11 remaining items

  2. erka commented on Nov 9, 2026

    @erka
    Member

    @toddbaert, what will we do with dyladan/component-owners and external forks?

  3. TheMarvelFan commented on Nov 10, 2026

    @TheMarvelFan

    Hi @erka / @toddbaert
    I would like to take up go-sdk#648 & go-sdk-contrib#1084 if they are still available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions