mirror of
https://github.com/rustfs/rustfs.git
synced 2026-10-05 12:42:20 +00:00
edcc81a8fd
* ci: replace ubuntu-latest runner with sm-standard-2 across workflows * ci: keep scheduled-validation monitors on hosted runners The freshness and watchdog jobs report stalled scheduled validations. Running them on the same sm-standard-2 pool means a pool outage stalls the monitors too, so nothing reports it. --------- Co-authored-by: overtrue <anzhengchao@gmail.com>
45 lines
1.8 KiB
YAML
45 lines
1.8 KiB
YAML
# Copyright 2024 RustFS Team
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
# DISABLED. This workflow is switched off in the repository's Actions settings
|
|
# (state: disabled_manually) and does not run on any trigger, including its cron
|
|
# and workflow_dispatch. That state lives in GitHub's UI and is invisible when
|
|
# reading this file, which has already misled at least one audit — hence this
|
|
# banner. Re-enabling is a UI action; anyone doing so should first check that the
|
|
# workflow still matches the current CI layout. See rustfs/backlog#1603.
|
|
#
|
|
name: "issue-translator"
|
|
on:
|
|
issue_comment:
|
|
types: [ created ]
|
|
issues:
|
|
types: [ opened ]
|
|
|
|
permissions:
|
|
contents: read
|
|
issues: write
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: sm-standard-2
|
|
timeout-minutes: 10
|
|
steps:
|
|
- uses: usthe/issues-translate-action@b41f55ddc81d7d54bd542a4f289fe28ec081898e # v2.7
|
|
with:
|
|
IS_MODIFY_TITLE: false
|
|
# not require, default false. Decide whether to modify the issue title
|
|
# if true, the robot account @Issues-translate-bot must have modification permissions, invite @Issues-translate-bot to your project or use your custom bot.
|
|
CUSTOM_BOT_NOTE: Bot detected the issue body's language is not English, translate it automatically.
|
|
# not require. Customize the translation robot prefix message.
|