Skip to content

Bump versions in github actions (#19) #4

Bump versions in github actions (#19)

Bump versions in github actions (#19) #4

name: mirror-bitbucket
on:
push:
branches:
- main
permissions:
checks: write
contents: read
jobs:
# Mirror the main branch to BitBucket.
mirror:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
fetch-depth: 0
- name: add bitbucket remote
run: |
git remote add bitbucket "https://x-token-auth:${BITBUCKET_ACCESS_TOKEN}@bitbucket.org/fensak-io/fensak-rules-examples.git"
git fetch bitbucket
env:
BITBUCKET_ACCESS_TOKEN: ${{ secrets.BITBUCKET_ACCESS_TOKEN }}
- name: push main branch
run: git push bitbucket main