diff options
author | kumvijaya <kuvmijaya@gmail.com> | 2024-12-24 11:18:05 +0530 |
---|---|---|
committer | kumvijaya <kuvmijaya@gmail.com> | 2024-12-24 11:18:05 +0530 |
commit | 6448a8e020499cb9f734cf349a18a759a70ac566 (patch) | |
tree | 8e4135c9c3b110eed82278bfb4434b7161650242 | |
parent | 933799060210928a08dd24bbf7aff9666ba40851 (diff) | |
download | vyos-build-6448a8e020499cb9f734cf349a18a759a70ac566.tar.gz vyos-build-6448a8e020499cb9f734cf349a18a759a70ac566.zip |
T6954: added mirror workflows
-rw-r--r-- | .github/workflows/cleanup-mirror-pr-branch.yml | 15 | ||||
-rw-r--r-- | .github/workflows/trigger-pr-mirror-repo-sync.yml | 12 |
2 files changed, 27 insertions, 0 deletions
diff --git a/.github/workflows/cleanup-mirror-pr-branch.yml b/.github/workflows/cleanup-mirror-pr-branch.yml new file mode 100644 index 00000000..bbe6aa2f --- /dev/null +++ b/.github/workflows/cleanup-mirror-pr-branch.yml @@ -0,0 +1,15 @@ +name: Cleanup pr mirror branch + +on: + pull_request: + types: [closed] + branches: + - current + +permissions: + contents: write + +jobs: + call-delete-branch: + uses: vyos/.github/.github/workflows/cleanup-mirror-pr-branch.yml@current + secrets: inherit diff --git a/.github/workflows/trigger-pr-mirror-repo-sync.yml b/.github/workflows/trigger-pr-mirror-repo-sync.yml new file mode 100644 index 00000000..d5e8ce3b --- /dev/null +++ b/.github/workflows/trigger-pr-mirror-repo-sync.yml @@ -0,0 +1,12 @@ +name: Trigger Mirror PR and Repo Sync +on: + pull_request_target: + types: + - closed + branches: + - current + +jobs: + call-trigger-mirror-pr-repo-sync: + uses: vyos/.github/.github/workflows/trigger-pr-mirror-repo-sync.yml@current + secrets: inherit |