Skip to content

Commit

Permalink
feat(GA): add common mgmt sync actions
Browse files Browse the repository at this point in the history
Signed-off-by: Ramiz Polic <[email protected]>
  • Loading branch information
ramizpolic committed Nov 28, 2023
1 parent 0a176c4 commit 00ca462
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 18 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/checks.yaml

This file was deleted.

21 changes: 21 additions & 0 deletions .github/workflows/pr-sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: PR Sync

on:
pull_request_target:
types:
- opened
- edited
- reopened
- synchronize

jobs:
check:
uses: bank-vaults/.github/.github/workflows/_pr_check.yml@main
permissions:
pull-requests: write

sync:
uses: bank-vaults/.github/.github/workflows/_pr_sync.yml@main
permissions:
pull-requests: write
issues: write
18 changes: 18 additions & 0 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Sync

on:
schedule:
- cron: "0 0 * * 0"
workflow_dispatch:

jobs:
mark-stale:
uses: bank-vaults/.github/.github/workflows/_stale.yml@main
permissions:
issues: write
pull-requests: write

sync:
uses: bank-vaults/.github/.github/workflows/_sync.yml@main
permissions:
issues: write

0 comments on commit 00ca462

Please sign in to comment.