use another GH action to cancel workflow runs
@@ -12,9 +12,9 @@ jobs:
steps:
- name: Find and cancel old builds of this branch
- uses: rokroskar/workflow-run-cleanup-action@v0.2.2
- env:
- GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
+ uses: styfle/cancel-workflow-action@0.6.0
+ with:
+ access_token: "${{ secrets.GITHUB_TOKEN }}"
gitleaks:
name: Detecting hardcoded secrets
