diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml index 91cbebd4..79f00456 100644 --- a/.github/workflows/mirror.yml +++ b/.github/workflows/mirror.yml @@ -5,6 +5,7 @@ on: [push, delete] jobs: to_codeberg: runs-on: ubuntu-latest + if: ${{ github.ref_name == 'master' && !github.event.pull_request }} steps: - uses: actions/checkout@v2 with: