[bitnami/containers] GitHub actions hardening (#52441)

* GitHub actions hardening

Signed-off-by: Fran Mulero <fmulero@vmware.com>

* Allow manual triggering in scheduled jobs

Signed-off-by: Fran Mulero <fmulero@vmware.com>

* Use env var instead of using github expressions

Signed-off-by: Fran Mulero <fmulero@vmware.com>

---------

Signed-off-by: Fran Mulero <fmulero@vmware.com>
This commit is contained in:
Fran Mulero
2023-11-08 17:06:12 +01:00
committed by GitHub
parent 8c9c2a3ef8
commit 87370f26d6
14 changed files with 129 additions and 59 deletions

View File

@@ -1,5 +1,9 @@
# Copyright VMware, Inc.
# SPDX-License-Identifier: APACHE-2.0
name: '[Support] Close Solved issues'
on:
workflow_dispatch:
schedule:
# Hourly
- cron: '0 * * * *'
@@ -9,7 +13,7 @@ jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v6.0.1
- uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84
with:
any-of-labels: 'solved'
stale-issue-label: 'solved'