mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-26 17:46:26 +03:00
27e991d11e
Now maintainers can send commands to Shaka Bot via PR comments. Initially, Shaka Bot understands the following commands from anyone: - `@shaka-bot help`: Show this help message And the following commands from maintainers only: - `@shaka-bot test`: Start lab tests on all devices - `@shaka-bot test ce`: Start lab tests on CE devices only (no desktop browsers)
28 lines
1.1 KiB
Bash
28 lines
1.1 KiB
Bash
# Copyright 2022 Google LLC
|
|
#
|
|
# 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.
|
|
|
|
# The help command implementation.
|
|
# Assumes that lib.sh has been loaded and all required variables are set.
|
|
|
|
# Using single quotes to avoid executing the things in backticks, which are
|
|
# really markdown.
|
|
(
|
|
echo 'I honor the following commands from anyone:'
|
|
echo ' - `@shaka-bot help`: Show this help message'
|
|
echo ''
|
|
echo 'I honor the following commands from maintainers only:'
|
|
echo ' - `@shaka-bot test`: Start lab tests on all devices'
|
|
echo ' - `@shaka-bot test ce`: Start lab tests on CE devices only (no desktop browsers)'
|
|
) | reply_from_pipe
|