Skip to content

Bump github/codeql-action from 3.27.5 to 3.27.6 (#138) #159

Bump github/codeql-action from 3.27.5 to 3.27.6 (#138)

Bump github/codeql-action from 3.27.5 to 3.27.6 (#138) #159

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@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v1
with:
egress-policy: block
disable-telemetry: true
allowed-endpoints:
github.com:443
gitlab.com:443
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v3
with:
fetch-depth: 0
- uses: jauderho/git-repo-sync@6142c9cd8960dadc57d1190506d6c35ac5cee660 # v0.2.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 }}