diff options
| author | Yevhen Bondarenko <evgeniy@vyos.io> | 2026-05-10 00:01:51 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-10 00:01:51 +0200 |
| commit | 2a0ca191f9683e6063318e0d93f86f870649367a (patch) | |
| tree | 5817694912a485bc264ccb5a6a05a4896c3ca5b1 /.github/workflows | |
| parent | 579c649d4d9283f8e6b56bbafa0619932a784969 (diff) | |
| parent | c78a2f0ad95a43177f15654edf3082dea43058f8 (diff) | |
| download | libnss-tacplus-2a0ca191f9683e6063318e0d93f86f870649367a.tar.gz libnss-tacplus-2a0ca191f9683e6063318e0d93f86f870649367a.zip | |
Merge pull request #7 from kumvijaya/master
T8835: added pr mirror workflow
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/cla-check.yml | 18 | ||||
| -rw-r--r-- | .github/workflows/pr-mirror-repo-sync.yml | 35 |
2 files changed, 53 insertions, 0 deletions
diff --git a/.github/workflows/cla-check.yml b/.github/workflows/cla-check.yml new file mode 100644 index 0000000..625ff78 --- /dev/null +++ b/.github/workflows/cla-check.yml @@ -0,0 +1,18 @@ +name: "CLA Check" + +permissions: + actions: write + contents: read + pull-requests: write + statuses: write + +on: + pull_request_target: + types: [opened, synchronize, closed] + issue_comment: + types: [created] + +jobs: + call-cla-assistant: + uses: vyos/vyos-cla-signatures/.github/workflows/cla-reusable.yml@current + secrets: inherit
\ No newline at end of file diff --git a/.github/workflows/pr-mirror-repo-sync.yml b/.github/workflows/pr-mirror-repo-sync.yml new file mode 100644 index 0000000..be1a045 --- /dev/null +++ b/.github/workflows/pr-mirror-repo-sync.yml @@ -0,0 +1,35 @@ +name: PR Mirror and Repo Sync + +on: + pull_request_target: + types: [closed] + branches: [master] + workflow_dispatch: + inputs: + sync_branch: + description: 'Branch to mirror' + required: true + default: 'master' + type: choice + options: + - master + +permissions: + pull-requests: write + contents: write + issues: write + +jobs: + call-pr-mirror-repo-sync: + if: | + github.repository_owner == 'vyos' && + ( + github.event_name == 'workflow_dispatch' || + (github.event_name == 'pull_request_target' && github.event.pull_request.merged == true) + ) + uses: vyos/.github/.github/workflows/pr-mirror-repo-sync.yml@current + with: + sync_branch: ${{ github.event.inputs.sync_branch || 'master' }} + secrets: + PAT: ${{ secrets.PAT }} + REMOTE_OWNER: ${{ secrets.REMOTE_OWNER }} |
