deps: update dependency golangci/golangci-lint to v1.62.0 (#98) #51
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: mirror | |
on: | |
push: | |
branches: [main] | |
tags: ["*"] | |
jobs: | |
gitlab-com: | |
runs-on: ubuntu-latest | |
env: | |
REMOTE: mirror | |
steps: | |
- name: Checkout | |
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4 | |
with: | |
# Need all to fetch all tags so we can push them | |
fetch-depth: 0 | |
# Required so they can be pushed too | |
lfs: true | |
- name: Add Remote | |
env: | |
CLONE_URL: "https://releaser-pleaser:${{ secrets.GITLAB_COM_PUSH_TOKEN }}@gitlab.com/apricote/releaser-pleaser.git" | |
run: git remote add $REMOTE $CLONE_URL | |
- name: Push Branches | |
run: git push --force --all --verbose $REMOTE | |
- name: Push Tags | |
run: git push --force --tags --verbose $REMOTE |