gkd-kit / subscription-template Goto Github PK
View Code? Open in Web Editor NEWGKD 订阅模板 | GKD subscription template
GKD 订阅模板 | GKD subscription template
在测试过程中 发现当前 package.json 中规定的 lint eslint --cache --fix .
可能会对 workflows 文件 格式化
但是由于 github-actions[bot] 权限不够,会导致 check_fix_push.yml 运行到 Git push
这一步失败。
因为 github-actions[bot] 不能修改 workflows 文件
日志如下:
! [remote rejected] HEAD -> main (refusing to allow a GitHub App to create or update workflow `.github/workflows/build_release.yml` without `workflows` permission)
error: failed to push some refs to 'https://github.com/aoguai/test.git'
Error: Invalid exit code: 1
at ChildProcess.<anonymous> (/home/runner/work/_actions/ad-m/github-push-action/master/start.js:30:21)
at ChildProcess.emit (node:events:514:28)
at maybeClose (node:internal/child_process:1105:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5) {
code: 1
}
可能的解决办法:修改为 eslint --cache --fix ./**/*.{js,ts,jsx,tsx}
或其他只针对规则相关代码文件格式化的限制 即可
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.