GitHub Actions 的工作流语法 工作流程是可配置的自动化过程,由一个或多个作业组成。 您必须创建 YAML 文件来定义工作流程配置。 本文内容 关于工作流程的 YAML 语法 name run-name on on.<event_name>.types on.<pull_request|pull_request_target>.<branches|bra
ParentRepo/.github/workflows/workflow.yml name:hugo publish on: push: branches: - master repository_dispatch: types: sub_commitjobs: build-deploy: runs-on: ubuntu-18.04 steps: - uses: actions/checkout@v2with: submodules: recursive 上面...
Merge branch 'main' into dependabot/github_actions/actions/cache-4 Apr 22, 2025 .vscode Add script and workflow to sync the set of starter-workflows for GHES May 16, 2020 automation Remove preview label from summary.properties.json Apr 24, 2025 ...
These guides for GitHub Actions include specific use cases and examples to help you configure workflows.
You can limit your workflow runs to specific activity types using the types keyword. For more information, see Workflow syntax for GitHub Actions.Note This event will only trigger a workflow run if the workflow file exists on the default branch....
Build and test#3494:Pull request#1103opened bydependabotbot dependabot/github_actions/actions-2c6a4f2942 Deps: Bump the python-packages group with 4 updates Build and test#3493:Commitc3ef0d4pushed bygreenbonebot main Deps: Bump the python-packages group with 4 updates ...
ViewGitHub Actions workflow runs Edit wikis in public repositories Edit wikis in private repositories Report abusive or spammy content Apply/dismiss labels Create, edit, delete labels Close, reopen, and assign all issues and pull requests Enable and disable auto-merge on a pull request ...
Every GitHub Actions workflow trigger comes with a GitHub context. Some of this data might be attacker controlled and should be treated as potentially untrusted input.
For a custom action, the risk can vary depending on how a program is using the secret it obtained from the argument: uses:fakeaction/publish@v3with:key:${{secrets.PUBLISH_KEY}} Although GitHub Actions scrubs secrets from memory that are not referenced in the workflow (or an included action...
If you don't declare an output in your action metadata file, you can still set outputs and use them in a workflow. For more information on setting outputs in an action, seeWorkflow commands for GitHub Actions. Example: Declaring outputs for Docker container and JavaScript actions ...