Skip to content

Commit fc04513

Browse files
authored
add gha warning to upstream prs (#11983)
* add gha warning to upstream prs * update to hashicorp org
1 parent c3a838c commit fc04513

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/upstream-mm.yml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: "Upstream To MM"
2+
on:
3+
pull_request_target:
4+
types: [opened, ready_for_review, reopened]
5+
6+
jobs:
7+
pr-warning:
8+
if: ${{ github.actor != 'modular-magician' }}
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Post the warning
12+
uses: hashicorp/[email protected]
13+
with:
14+
repo-token: ${{ secrets.GITHUB_TOKEN }}
15+
warning: "This repository is generated by https://github.com/GoogleCloudPlatform/magic-modules. Any changes made directly to this repository will likely be overwritten. If you have further questions, please feel free to ping your reviewer or, internal employees, reach out to one of the engineers. Thank you!"

0 commit comments

Comments
 (0)