jerryshao commented on code in PR #13501: URL: https://github.com/apache/gravitino/pull/13501#discussion_r4092191542
########## .github/workflows/label-fix-version.yml: ########## @@ -0,0 +1,85 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. +# + +# Label issues with the release their fix ships in, see +# dev/ci/label_fix_version.sh for details. +# +# - When a PR is merged, its issues get the version of the merge commit, +# e.g. main (2.0.0-SNAPSHOT) -> "2.0.0", and unassigned issues are assigned +# to the PR author. +# - The release script bumps to the next SNAPSHOT right after tagging an RC, +# so when a later RC is tagged, the issues fixed since the previous RC are +# moved to that release, e.g. v1.3.1-rc2 moves them from "1.3.2" to "1.3.1". +# +# The merge job uses pull_request_target so that PRs from forks get a token +# that can write labels. It never checks out PR code, and all PR-controlled +# values are passed through env to avoid script injection. + +name: Label issues with fix version + +on: + pull_request_target: + types: [closed] + push: Review Comment: We decided not to backport this to branch-1.3. The RC relabeling will take effect from release branches cut after this lands; for the rest of 1.3.x, labels of fixes merged between RCs will be adjusted manually if needed. Updated the PR description accordingly. _🤖 Addressed by [Claude Code](https://claude.com/claude-code)_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
