mirror of
https://github.com/bitnami/containers.git
synced 2026-10-17 19:01:00 +02:00
[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:
@@ -1,3 +1,6 @@
|
||||
# Copyright VMware, Inc.
|
||||
# SPDX-License-Identifier: APACHE-2.0
|
||||
|
||||
name: '[Support] Comments based card movements'
|
||||
on:
|
||||
issue_comment:
|
||||
@@ -18,13 +21,13 @@ jobs:
|
||||
pull-requests: read
|
||||
steps:
|
||||
- name: Repo checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
||||
- name: Load .env file
|
||||
uses: xom9ikk/dotenv@v2
|
||||
uses: xom9ikk/dotenv@de1ff27d319507880e6621e4d47424c677d95f68
|
||||
with:
|
||||
path: .github/workflows/
|
||||
- name: Move into Pending
|
||||
uses: peter-evans/create-or-update-project-card@v2
|
||||
uses: peter-evans/create-or-update-project-card@dfa240db6fe287ceb681e45d6728c1af70452c58
|
||||
if: |
|
||||
(github.actor != 'bitnami-bot' || github.event.issue.user.login != 'bitnami-bot' || github.event.issue.pull_request == null) &&
|
||||
contains(fromJson(env.BITNAMI_TEAM), github.actor) &&
|
||||
@@ -33,7 +36,7 @@ jobs:
|
||||
project-name: Support
|
||||
column-name: Pending
|
||||
- name: Move into In Progress
|
||||
uses: peter-evans/create-or-update-project-card@v2
|
||||
uses: peter-evans/create-or-update-project-card@dfa240db6fe287ceb681e45d6728c1af70452c58
|
||||
if: |
|
||||
(github.actor != 'bitnami-bot' || github.event.issue.user.login != 'bitnami-bot' || github.event.issue.pull_request == null) &&
|
||||
(!contains(fromJson(env.BITNAMI_TEAM), github.actor)) &&
|
||||
@@ -42,7 +45,7 @@ jobs:
|
||||
project-name: Support
|
||||
column-name: In progress
|
||||
- name: Move into Triage
|
||||
uses: peter-evans/create-or-update-project-card@v2
|
||||
uses: peter-evans/create-or-update-project-card@dfa240db6fe287ceb681e45d6728c1af70452c58
|
||||
if: |
|
||||
(github.actor != 'bitnami-bot' || github.event.issue.user.login != 'bitnami-bot' || github.event.issue.pull_request == null) &&
|
||||
(!contains(fromJson(env.BITNAMI_TEAM), github.actor)) &&
|
||||
|
||||
Reference in New Issue
Block a user