Skip to content

Instantly share code, notes, and snippets.

@pwo3
Created September 24, 2020 07:39
Show Gist options
  • Save pwo3/6af36889ae6b3cf4bae5419c0725a1aa to your computer and use it in GitHub Desktop.
Save pwo3/6af36889ae6b3cf4bae5419c0725a1aa to your computer and use it in GitHub Desktop.
.gitlab-ci.yml
image: node:14-alpine
stages:
- run
auto-rebase:
stage: run
rules:
- if: '$CI_COMMIT_BRANCH == "master"'
script:
- apk add jq curl
- sh scripts/auto-rebase.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment