docker: bump jauderho/alpine from ae4eeb3
to b420428
(#641)
#944
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
# 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@cb605e52c26070c328afc4562f0b4ada7618a84e # v1 | |
with: | |
egress-policy: block | |
disable-telemetry: true | |
allowed-endpoints: | |
github.com:443 | |
gitlab.com:443 | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 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 }} |