sync #265
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: sync | |
# Controls when the workflow will run | |
on: | |
# Trigger the workflow on all pushes | |
push: | |
branches: | |
- "**" | |
tags: | |
- "**" | |
# Trigger the workflow when a branch or tag is deleted | |
delete: ~ | |
# Allow workflow to be dispatched on demand | |
workflow_dispatch: ~ | |
jobs: | |
sync: | |
name: sync | |
runs-on: ubuntu-20.04 | |
if: ${{ github.actor != 'dependabot[bot]' }} | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Sync Repository | |
uses: ./ | |
with: | |
target_repository: ${{ secrets.BITBUCKET_REPOSITORY }} | |
target_username: ${{ secrets.BITBUCKET_USERNAME }} | |
target_token: ${{ secrets.BITBUCKET_PAT }} |