Skip to content

support custom token (PAT/GitHub App) without relying on GITHUB_TOKEN #305

Closed

Description

@kec-flatpay

Feature request for crowdin/github-action: please support a custom GitHub token input/env var (e.g. github_token or CROWDIN_GITHUB_TOKEN) instead of only using GITHUB_TOKEN.

In some orgs, the default workflow token is blocked from creating PRs (403: “GitHub Actions is not permitted to create or approve pull requests”), and overriding GITHUB_TOKEN is constrained because GITHUB_* variables are reserved. This prevents using a PAT/GitHub App token for PR creation in locked-down environments.

Ideally: if a custom token is provided, use it for GitHub API calls; otherwise fall back to the default token.

Activity

  1. andrii-bodnar commented on Feb 17, 2026

    @andrii-bodnar
    Member

    Hi @kec-flatpay, the action already supports the GitHub App for authentication approach. Could you please check if this solves the issue? Thanks!

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions