TSK-1497: cleanup old ci runs on same branch.

This commit is contained in:
Mustapha Zorgati 2021-01-16 11:36:01 +01:00
parent a29e2868d3
commit 6c648105d0
1 changed files with 4 additions and 0 deletions

View File

@ -84,6 +84,10 @@ jobs:
name: Compile all maven modules
runs-on: ubuntu-20.04
steps:
- name: Cleanup old CI runs on same branch
uses: rokroskar/workflow-run-cleanup-action@v0.3.0
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: Git checkout
uses: actions/checkout@v2
- name: Set up JDK ${{ env.JAVA_VERSION }}