You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(ci): Sync GitHub workflows from main branch to v1
The v1 branch workflows are behind main, missing recent CI checks, dependency bumps, and workflow fixes. Synced .github/workflows/ from main to v1 while keeping v1 release-please configuration intact.
# Licensed under the Apache License, Version 2.0 (the "License");
4
+
# you may not use this file except in compliance with the License.
5
+
# You may obtain a copy of the License at
6
+
#
7
+
# http://www.apache.org/licenses/LICENSE-2.0
8
+
#
9
+
# Unless required by applicable law or agreed to in writing, software
10
+
# distributed under the License is distributed on an "AS IS" BASIS,
11
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+
# See the License for the specific language governing permissions and
13
+
# limitations under the License.
14
+
15
+
name: Do Not Merge on GitHub
16
+
17
+
on:
18
+
pull_request:
19
+
types: [opened, reopened, synchronize]
20
+
21
+
jobs:
22
+
block-merge:
23
+
name: maintainers will submit via Copybara
24
+
runs-on: ubuntu-latest
25
+
steps:
26
+
- name: Explain why merging is blocked
27
+
run: |
28
+
echo "::error title=GitHub merge is disabled::Do NOT merge this pull request on GitHub. A maintainer will land the change internally, and Copybara will sync it back to this repository automatically."
console.log('No PR number found in Copybara commit message');
@@ -113,6 +134,14 @@ jobs:
113
134
body: `Thank you @${author} for your contribution! 🎉\n\nYour changes have been successfully imported and merged via Copybara in commit ${commitSha}.\n\nClosing this PR as the changes are now in the main branch.`
0 commit comments