pytorch/.github
Ivan Zaitsev 5b35fc8777 Support multiple commits on push events in trunk tagging workflow (#165937)
Context:
* this workflow is used to create tags like `trunk/{sha}` for all `main` commits
* those tags are used by [autorevert](https://github.com/pytorch/test-infra/blob/main/aws/lambda/pytorch-auto-revert/README.md) to rerun selected workflows

Problem: currently the workflow creates only a single tag per push event, while ghstack pushes multiple commits per single push.

This PR supports tag creation for all commits in the push event.

Complimentary autorevert PR: https://github.com/pytorch/test-infra/pull/7291

---

### Testing

I created an identical copy of this workflow in my personal repo: https://github.com/izaitsevfb/pr-head-test/actions/workflows/trunk-tagging.yml

See action runs there.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/165937
Approved by: https://github.com/huydhn
2025-10-21 20:52:34 +00:00
..
actions Build vLLM nightly wheels for CUDA 13.0 (#163239) 2025-10-16 01:03:26 +00:00
ci_commit_pins [audio hash update] update the pinned audio hash (#165807) 2025-10-19 04:45:20 +00:00
ci_configs/vllm [vllm hash update] update the pinned vllm hash (#164628) 2025-10-12 18:26:07 +00:00
ISSUE_TEMPLATE [ISSUES] Update ci:sev template to include a note about ci: disable-autorevert label (#165459) 2025-10-14 20:32:46 +00:00
requirements [BE][CI] Unify requirments (#163396) 2025-10-01 03:28:48 +00:00
scripts [CD] Apply the fix from #162455 to aarch64+cu129 build (#165794) 2025-10-18 04:16:24 +00:00
templates [CD] Introduce windows.12xlarge runners for CD Windows build (#165287) 2025-10-21 18:28:23 +00:00
workflows Support multiple commits on push events in trunk tagging workflow (#165937) 2025-10-21 20:52:34 +00:00
actionlint.yaml Revert "[ROCm][CI] Update rocm.yml workflow to use 1 GPU ARC runners (#165481)" 2025-10-21 14:15:55 +00:00
auto_request_review.yml Remove voznesenskym from the list of autoreviewers (#118680) 2024-01-30 21:35:38 +00:00
dependabot.yml Tweak dependabot to run inductor jobs (#160935) 2025-08-19 17:56:07 +00:00
label_to_label.yml [distributed] Enable H100 test for all distributed related changes (#156721) 2025-06-26 01:51:41 +00:00
labeler.yml Add B200 files to labeler and update codeowners (#165767) 2025-10-17 23:24:17 +00:00
merge_rules.yaml Add rule for typechecking maintainers (#161307) 2025-09-25 00:14:31 +00:00
nitpicks.yml Extend abi-stable nitpick message to all the c stable files (#145862) 2025-01-28 23:22:23 +00:00
PULL_REQUEST_TEMPLATE.md
pytorch-circleci-labels.yml
pytorch-probot.yml [ROCm][CI] Move gfx1100 workflows to own yaml file (#165699) 2025-10-20 23:52:48 +00:00
regenerate.sh
requirements-gha-cache.txt [CI] update flake8 and mypy lint dependencies (#158720) 2025-07-29 08:05:56 +00:00