Skip to content

gha: bump github/codeql-action from 3.26.7 to 3.26.8 (#563) #855

gha: bump github/codeql-action from 3.26.7 to 3.26.8 (#563)

gha: bump github/codeql-action from 3.26.7 to 3.26.8 (#563) #855

Workflow file for this run

# https://dev.to/brunorobert/github-and-gitlab-sync-44mn
# This pushes code from GitHub to Gitlab upon commit to GH
name: Gitlab Sync
on:
push:
branches:
- main
#delete: {}
permissions: read-all
jobs:
sync:
runs-on: ubuntu-24.04
name: Git Repo Sync
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v1
with:
egress-policy: block
disable-telemetry: true
allowed-endpoints:
github.com:443
gitlab.com:443
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v2
with:
fetch-depth: 0
- uses: jauderho/git-repo-sync@6142c9cd8960dadc57d1190506d6c35ac5cee660 # v0.1.0
with:
# Such as https://github.com/wangchucheng/git-repo-sync.git
#target-url: ${{ secrets.GITLAB_URL }}
target-url: https://gitlab.com/${{ github.repository }}.git
# Such as wangchucheng
#target-username: ${{ secrets.GITLAB_USERNAME }}
target-username: ${{ github.actor }}
# You can store token in your project's 'Setting > Secrets' and reference the name here. Such as ${{ secrets.ACCESS\_TOKEN }}
target-token: ${{ secrets.GITLAB_TOKEN }}