mirror of
https://github.com/LamGC/ScalaBot.git
synced 2025-04-30 06:37:29 +00:00
build(action): 添加用于验证 Gradle Wrapper 的 Action.
增加 Gradle Wrapper 验证过程有利于防范恶意 Pull Request 或恶意 Push, 增强构建安全性.
This commit is contained in:
parent
c64f5e739b
commit
32c07eae90
10
.github/workflows/gradle-wrapper-validation.yml
vendored
Normal file
10
.github/workflows/gradle-wrapper-validation.yml
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
name: "Validate Gradle Wrapper"
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
validation:
|
||||
name: "Validation"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: gradle/wrapper-validation-action@v1
|
Loading…
Reference in New Issue
Block a user