Version 1.0.2: make OPA endpoint configurable through env variables #3
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: Synchronization with GitLab Repository | |
on: | |
- push | |
- delete | |
jobs: | |
gitlab-synchronization: | |
runs-on: ubuntu-latest | |
name: Synchronization with GitLab Repository | |
steps: | |
# Checkout repository: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
# Synchronize GitHub repository with GitLab repository (GitHub is upstream repository) | |
- name: Synchronize GitHub repository with GitLab repository (GitHub is upstream repository) | |
uses: wangchucheng/git-repo-sync@v0.1.0 | |
with: | |
target-url: ${{ secrets.TARGET_URL }} | |
target-username: ${{ secrets.TARGET_USERNAME }} | |
target-token: ${{ secrets.TARGET_TOKEN }} |