This context is an example only. The contents of a context depends on the workflow that you are running. Contexts, objects, and properties will vary significantly under different workflow run conditions. {"token":"***","job":"dump_contexts_to_log","ref":"refs/heads/my_branch","sha":"...
Delete a workflow run Works with GitHub Apps Delete a specific workflow run. Anyone with write access to the repository can use this endpoint. If the repository is private you must use an access token with the repo scope. GitHub Apps must have the actions:write permission to use this endpoin...
on: branch_protection_rule: types: [created, deleted] check_runWeb 挂钩事件有效负载活动类型GITHUB_SHAGITHUB_REF check_run - created- rerequested- completed- requested_action 默认分支上的最新提交 默认分支Note 多个活动类型会触发此事件。 有关每个活动类型的信息,请参阅“Webhook 事件和有效负载”。
on:check_run:types:[rerequested,requested_action] 使用條件關鍵字 在您的工作流程檔案中,您可以存取內容資訊和評估運算式。 雖然運算式通常與工作流程檔案中的條件式if關鍵字一起使用,以判斷是否應該執行步驟,但您可以使用任何支援的內容和運算式來建立條件式。 請務必了解,在您的工作流程中使用條件時,必須...
You must configure your GitHub Actions workflow or GitHub App to run when the repository_dispatch event occurs. Create a repository using a template (Preview) Creates a new repository using a repository template. The authenticated user must own or be a member of an organization that owns the ...
You will designate the version of the action in your workflow file. Check the action's documentation for information on their approach to release management, and to see which tag, branch, or SHA value to use. Note We recommend that you use a SHA value when using ...
Lastly, you can configure a workflow to run when specific webhook events occur on GitHub. You can trigger most webhook events from more than one activity for a webhook, so if multiple activities exist for a webhook, you can specify an activity type to trigger the workflow. For exam...
Actions: open-mmlab/mmcvActions All workflows build build macos wheel build_pat deploy lint merge_stage_test pr_stage_test Management Caches All workflows Showing runs from all workflows 947 workflow runs Event Status Branch Actor ...
All workflows Showing runs from all workflows 313,070 workflow runs Commit Queue Commit Queue#211114:Scheduled main April 27, 2025 16:211m 47s Auto Start CI Auto Start CI#212626:Scheduled main April 27, 2025 16:2112s doc: add sonsurim to triage team ...
jobs:example-job:steps:-run:npm install -g bats 例如,要将脚本作为操作运行,可以将脚本存储在存储库中并提供路径和shell类型。 jobs:example-job:steps:-name:Run build scriptrun:./.github/scripts/build.shshell:bash 有关更多信息,请参阅“GitHub操作的工作流语法。“ ...