Files
ant-design/.github/workflows/verify-files-modify.yml
blacksmith-sh[bot] 38efd012a2 .github/workflows: Migrate workflows to Blacksmith runners (#56282)
* Migrate workflows to Blacksmith

* Update .github/workflows/preview-build.yml

Signed-off-by: thinkasany <480968828@qq.com>

* preview-build.yml use runs-on: ubuntu-latest (#56367)

* Initial plan

* fix: add named exports for ColorPalettes and ColorPaletteToolDark to fix SSR compatibility

Co-authored-by: thinkasany <117748716+thinkasany@users.noreply.github.com>

* test: preview-build use ubuntu-latest

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: thinkasany <117748716+thinkasany@users.noreply.github.com>
Co-authored-by: thinkasany <480968828@qq.com>

---------

Signed-off-by: thinkasany <480968828@qq.com>
Co-authored-by: blacksmith-sh[bot] <157653362+blacksmith-sh[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: thinkasany <480968828@qq.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: thinkasany <117748716+thinkasany@users.noreply.github.com>
2025-12-30 23:04:15 +08:00

50 lines
2.1 KiB
YAML

name: Verify Files modify
on:
pull_request_target:
types: [opened, synchronize]
permissions:
contents: read
jobs:
verify:
if: github.event.pull_request.user.login != 'renovate[bot]' && github.event.pull_request.user.login != 'Copilot'
permissions:
pull-requests: write # for actions-cool/verify-files-modify to update status of PRs
runs-on: blacksmith-4vcpu-ubuntu-2404
steps:
- name: verify-version
uses: actions-cool/verify-files-modify@9f38a3b3d324d4d92c88c8a946001522e17ad554 # pin to latest verified commit
with:
forbid-paths: '.github/, scripts/'
forbid-files: 'CHANGELOG.zh-CN.md, CHANGELOG.en-US.md, LICENSE'
skip-contribution-count: 10
skip-verify-authority: write
skip-label: skip-verify-files
assignees: 'afc163, zombieJ, xrkffgg, MadCcc'
comment-mark: version
comment: |
Hi @${{ github.event.pull_request.user.login }}. Thanks for your contribution. The path `.github/` or `scripts/` and `CHANGELOG` is only maintained by team members. This current PR will be closed and team members will help on this.
close: true
set-failed: false
readme:
if: github.event.pull_request.user.login != 'renovate[bot]' && github.event.pull_request.user.login != 'Copilot'
permissions:
pull-requests: write # for actions-cool/verify-files-modify to update status of PRs
runs-on: blacksmith-4vcpu-ubuntu-2404
steps:
- name: verify-readme
uses: actions-cool/verify-files-modify@9f38a3b3d324d4d92c88c8a946001522e17ad554 # pin to latest verified commit
with:
forbid-files: README.md
skip-verify-authority: write
skip-label: skip-verify-files
assignees: 'afc163, zombieJ, xrkffgg, MadCcc'
comment-mark: readmeCheck
comment: |
Hi @${{ github.event.pull_request.user.login }}. Thanks for your contribution. But, we don't have plan to add README of more languages. This current PR will be closed and team members will help on this.
close: true
set-failed: false