Skip to content

Commit fdd0224

Browse files
committed
feat: Prevent workflow to be disabled
1 parent a8682a8 commit fdd0224

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,14 @@ jobs:
5757
uses: github/codeql-action/upload-sarif@v2
5858
with:
5959
sarif_file: 'trivy-results.sarif'
60+
keepalive-job:
61+
name: Keep repository alive to prevent workflows to be disabled
62+
if: ${{ always() }}
63+
needs: build_push_and_check
64+
permissions:
65+
actions: write
66+
runs-on: ubuntu-latest
67+
steps:
68+
- uses: gautamkrishnar/keepalive-workflow@v1
69+
with:
70+
use_api: true

0 commit comments

Comments
 (0)