chore: update git-sync workflow to use secrets for GitLab and GitHub … #33
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: Update Repository Links | |
on: | |
push: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
update-links: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # This ensures we have the full git history | |
- uses: vixshan/[email protected] | |
with: | |
token: ${{ secrets.GH_TOKEN }} | |
config-path: '.github/updatelinks.yml' # Explicitly set the config path | |
create-pr: 'true' |