You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
before_all:
name: 'before all'runs-on:
- self-hosted
- contra-general-purposesteps:
- name: git checkoutuses: actions/checkout@v4with:
fetch-depth: 0
- name: check if branch is ahead of mainrun: | if ! git merge-base --is-ancestor origin/main ${{ github.event.pull_request.head.sha }}; then echo "This branch is not up to date with main"; exit 1; fi
- run: echo "Starting CI"
However, this step is taking upwards of 2 minutes in our large repository.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
This is what we are using at the moment:
However, this step is taking upwards of 2 minutes in our large repository.
Beta Was this translation helpful? Give feedback.
All reactions