Fix issue when functions are actually given an opts dict #35
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
# Originally forked from: https://github.com/google/mirror-branch-action | |
# Current repo: https://github.com/AndrewRadev/mirror-branch-action | |
on: | |
push: | |
branches: | |
- 'main' | |
jobs: | |
mirror_job: | |
runs-on: ubuntu-latest | |
name: Mirror main branch to master branch | |
steps: | |
- name: Mirror action step | |
id: mirror | |
uses: AndrewRadev/mirror-branch-action@main | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
source: 'main' | |
dest: 'master' |