Skip to content

Commit

Permalink
Merge pull request #28 from ecmwf-ifs/feature/gh-bb-sync
Browse files Browse the repository at this point in the history
Add a sync workflow to keep the internal repository up-to-date
  • Loading branch information
reuterbal authored Dec 2, 2024
2 parents cd0a227 + 74f6ac8 commit 7488c5f
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/sync.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: sync

# Controls when the workflow will run
on:

# Trigger the workflow on all pushes to the named branches and all tags
push:
branches:
- 'master'
tags:
- '**'

jobs:

# Calls a reusable CI workflow to sync the current with a remote repository.
# It will correctly handle addition of any new and removal of existing Git objects.
sync:
name: sync
uses: ecmwf-actions/reusable-workflows/.github/workflows/sync.yml@v2
secrets:
target_repository: ESCAPE/dwarf-p-radiation-ecrad
target_username: ClonedDuck
target_token: ${{ secrets.BITBUCKET_PAT }}

0 comments on commit 7488c5f

Please # to comment.