Skip to content

build(deps): bump actions/create-github-app-token from 1 to 3 - #248

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/actions/create-github-app-token-3
Open

build(deps): bump actions/create-github-app-token from 1 to 3#248
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/actions/create-github-app-token-3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 1, 2026

Copy link
Copy Markdown
Contributor

Bumps actions/create-github-app-token from 1 to 3.

Release notes

Sourced from actions/create-github-app-token's releases.

v3.0.0

3.0.0 (2026-03-14)

Bug Fixes

BREAKING CHANGES

  • Custom proxy handling has been removed. If you use HTTP_PROXY or HTTPS_PROXY, you must now also set NODE_USE_ENV_PROXY=1 on the action step.
  • Requires Actions Runner v2.327.1 or later if you are using a self-hosted runner.

v3.0.0-beta.6

3.0.0-beta.6 (2026-03-13)

Bug Fixes

  • deps: bump @​actions/core from 1.11.1 to 3.0.0 (#337) (b044133)
  • deps: bump minimatch from 9.0.5 to 9.0.9 (#335) (5cbc656)
  • deps: bump the production-dependencies group with 4 updates (#336) (6bda5bc)
  • deps: bump undici from 7.16.0 to 7.18.2 (#323) (b4f638f)

v3.0.0-beta.5

3.0.0-beta.5 (2026-03-13)

  • fix!: require NODE_USE_ENV_PROXY for proxy support (#342) (d53a1cd)

BREAKING CHANGES

  • Custom proxy handling has been removed. If you use HTTP_PROXY or HTTPS_PROXY, you must now also set NODE_USE_ENV_PROXY=1 on the action step.

v3.0.0-beta.4

3.0.0-beta.4 (2026-03-13)

Bug Fixes

  • deps: bump @​octokit/auth-app from 7.2.1 to 8.0.1 (#257) (bef1eaf)
  • deps: bump @​octokit/request from 9.2.3 to 10.0.2 (#256) (5d7307b)
  • deps: bump glob from 10.4.5 to 10.5.0 (#305) (5480f43)
  • deps: bump p-retry from 6.2.1 to 7.1.0 (#294) (dce3be8)

... (truncated)

Changelog

Sourced from actions/create-github-app-token's changelog.

Changelog

3.2.0 (2026-05-12)

Features

  • add support for enterprise-level GitHub Apps (#263) (952a2a7)
  • support full repository names in repositories input (#372) (85eb8dd)

Bug Fixes

  • deps: bump @​actions/core from 3.0.0 to 3.0.1 in the production-dependencies group (#364) (43e5c34)
  • validate private-key input (#376) (f24bbd8)
Commits
  • bcd2ba4 chore(main): release 3.2.0 (#370)
  • f24bbd8 fix: validate private-key input (#376)
  • 363531b docs: capitalize Git as a proper noun in README (#374)
  • fd28011 docs: update procedure to configure Git (#287)
  • 85eb8dd feat: support full repository names in repositories input (#372)
  • c9aabb8 build(deps-dev): bump yaml from 2.8.3 to 2.8.4 in the development-dependencie...
  • e02e816 build(deps-dev): bump undici from 7.24.6 to 8.2.0 (#366)
  • 8d835bf build(deps-dev): bump esbuild from 0.27.4 to 0.28.0 in the development-depend...
  • 952a2a7 feat: add support for enterprise-level GitHub Apps (#263)
  • 43e5c34 fix(deps): bump @​actions/core from 3.0.0 to 3.0.1 in the production-dependenc...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token) from 1 to 3.
- [Release notes](https://github.com/actions/create-github-app-token/releases)
- [Changelog](https://github.com/actions/create-github-app-token/blob/main/CHANGELOG.md)
- [Commits](actions/create-github-app-token@v1...v3)

---
updated-dependencies:
- dependency-name: actions/create-github-app-token
  dependency-version: '3'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Sep 1, 2026
@vercel

vercel Bot commented Sep 1, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
api-enhanced Ready Ready Preview Sep 1, 2026 12:47pm UTC

@yukka-agent

yukka-agent Bot commented Sep 1, 2026

Copy link
Copy Markdown

正在审查 PR #248 的版本升级变更,解析 v1→v3 不兼容点。

PR #248 Review — actions/create-github-app-token v1 → v3

变更范围: 2 文件 +2/-2 仅改 uses: actions/create-github-app-token@v1@v3,功能逻辑无变化,Dependabot 自动升级。

Review Comments

1. .github/workflows/opencode-auto.yml:33 / opencode.yml:36 — 未固定 SHA,供应链风险

Medium Priority Security

- uses: actions/create-github-app-token@v3 # 可变 Tag
+ - uses: actions/create-github-app-token@3c84eff6b031a0f7c0b398dc0fccd04f5fb1c78e # v3.2.0 pin to SHA + dependabot 续更

建议:GitHub 官方推荐 pin SHA + dependabot@v3 是可变 Tag,存在 Tag 被劫持/覆盖风险。本仓库其余 actions/checkout@v6 / setup-node@v6 同样未 pin,如需加固应统一策略。

2. opencode-auto.yml:23 / opencode.yml:24 — Breaking Change: 自定义 Proxy 处理已移除

Medium Priority

v3.0.0 BREAKING CHANGES 明确:

Custom proxy handling has been removed. If you use HTTP_PROXY/HTTPS_PROXY, you must now also set NODE_USE_ENV_PROXY=1

当前仓库 util/request.js:proxy:false 已显式禁用环境代理(AGENTS.md:48 已说明),且 grep 两 workflow 均未使用代理变量,runs-on: ubuntu-latest 为 GitHub Hosted Runner,不受影响。

改进建议:在两处 Generate bot token 步骤补充注释或按需添加 env,避免后续自建 Runner/企业代理环境踩坑:

- name: Generate bot token
  uses: actions/create-github-app-token@v3
  env:
    NODE_USE_ENV_PROXY: '1' # 仅当 Runner 需走 HTTP_PROXY/HTTPS_PROXY 时开启

3. opencode-auto.yml:23 / opencode.yml:24 — Breaking Change: 要求 Runner >= v2.327.1

Medium Priority

v3 依赖 Node24,要求 Actions Runner v2.327.1+。当前 runs-on: ubuntu-latest 为 GitHub Hosted,自动满足,无需处理。若未来迁移到自托管 Runner(Self-hosted)需先升级 Runner,否则会直接失败。

4. opencode-auto.yml:8 — workflow 权限过大,未遵循最小权限

High Priority Security

# opencode-auto.yml
permissions: # workflow 级别 contents:write 对所有 job生效
  contents: write
  issues: write
  pull-requests: write

对比 opencode.yml:25 已在 job.bot.permissions: contents: read 覆盖收敛。opencode-auto.ymlautomate job 同样仅需 contents:write(用于 checkout/push)+ pull-requests:write,建议下沉到 job 级别并移除 workflow 顶层宽泛授权。

建议修复:

permissions: {} # 或移除顶层
jobs:
  automate:
    permissions:
      contents: write
      pull-requests: write
      issues: write

5. 升级跨度 v1→v3 跳过 v2,未做 token 链路冒烟验证

Medium Priority

v3 新增 validate private-key inputf24bbd8)、支持 enterprise / repositories: full name。若 steps.cfg.outputs.app_private_key 格式含多余换行/未做 PEM 头尾校验,v1 可能静默通过而 v3 会直接 fail。Dependabot 兼容性徽章仅为参考,并非本仓库实测。

建议:合并前在 fork 或 opencode-autopull_request 触发路径上手动验证一次 steps.token.outputs.token 是否正常产出,避免自动化全链路中断。

总结

优先级 数量
Critical Critical 0
High Priority High 1(权限收敛)
Medium Priority Medium 4(SHA pin / Proxy Breaking / Runner 版本 / 跨大版本验证)
Security Security 2

结论: 该 PR 为常规安全维护升级,v3.2.0 修复了旧版 Node16 依赖与未声明的代理逻辑,长期收益为正。Hosted Runner 场景下无阻断性 Breaking Change,可批准合并,但建议合并前处理 #4 权限最小化opencode-auto.yml:8)并在测试 PR 上验证 token 生成链路;后续可考虑全仓库 Actions SHA Pin 加固。

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
api-enhanced fb083fb Sep 01 2026, 12:47 PM

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

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants