Skip to content

Commit

Permalink
ci: sync branch deletions
Browse files Browse the repository at this point in the history
  • Loading branch information
christophwitzko committed Jan 25, 2023
1 parent e80e502 commit 234f063
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/sync-to-gitlab-cleanup.yml
@@ -0,0 +1,14 @@
name: Sync to GitLab Cleanup
on:
delete

jobs:
cleanup:
if: github.event.ref_type == 'branch'
runs-on: ubuntu-latest
steps:
- name: Cleanup
run: |
git push https://oauth2:${GITLAB_TOKEN}@gitlab.com/go-semantic-release/semantic-release.git :${{ github.event.ref }}
env:
GITLAB_TOKEN: ${{ secrets.GITLAB_PUSH_TOKEN }}

0 comments on commit 234f063

Please sign in to comment.