We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 720326a commit b2a74ceCopy full SHA for b2a74ce
1 file changed
.github/actions/cleanup-action.yml
@@ -0,0 +1,20 @@
1
+cleanup:
2
+ name: Limpieza Avanzada de Runners
3
+ runs-on: ubuntu-latest
4
+ permissions:
5
+ actions: write
6
+ steps:
7
+ - name: Limpiar runners offline
8
+ uses: actions/cleanup-action@v4
9
+ with:
10
+ token: ${{ secrets.RUNNER_CLEANUP_TOKEN }} # Token personalizado
11
+ remove-token: ${{ secrets.RUNNER_CLEANUP_TOKEN }} # Token personalizado
12
+ exclude-running: true
13
+ min-age-days: 1
14
+ dry-run: true
15
+
16
+ - name: Terminar workflows obsoletos
17
+ uses: ./.github/actions/cancel-workflows
18
19
+ token: ${{ secrets.GITHUB_TOKEN }}
20
+ hours: 24 # Cancela workflows con más de 24 horas
0 commit comments