diff --git a/.github/workflows/sync-cnb.yml b/.github/workflows/sync-cnb.yml index 96377c14..60065649 100644 --- a/.github/workflows/sync-cnb.yml +++ b/.github/workflows/sync-cnb.yml @@ -1,12 +1,18 @@ name: Sync to CNB -on: [push] +on: + push: + branches: [main] + tags: ['v*'] + +permissions: + contents: read jobs: sync: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0