Skip to content

Commit

Permalink
chore(actions): standardize names (#6059)
Browse files Browse the repository at this point in the history
(cherry picked from commit 213a793)

# Conflicts:
#	.github/workflows/sdk-pull-request.yml
  • Loading branch information
jfagoagas committed Dec 9, 2024
1 parent e04e5d3 commit 1c679d3
Show file tree
Hide file tree
Showing 17 changed files with 32 additions and 28 deletions.
4 changes: 2 additions & 2 deletions .github/codeql/api-codeql-config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
name: "Custom CodeQL Config for API"
name: "API - CodeQL Config"
paths:
- 'api/'
- "api/"
4 changes: 0 additions & 4 deletions .github/codeql/codeql-config.yml

This file was deleted.

4 changes: 4 additions & 0 deletions .github/codeql/sdk-codeql-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
name: "SDK - CodeQL Config"
paths-ignore:
- "api/"
- "ui/"
2 changes: 1 addition & 1 deletion .github/codeql/ui-codeql-config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
name: "Custom CodeQL Config for UI"
name: "UI - CodeQL Config"
paths:
- "ui/"
6 changes: 3 additions & 3 deletions .github/workflows/api-codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "API - CodeQL"
name: API - CodeQL

on:
push:
branches:
branches:
- "master"
- "v3"
- "v4.*"
- "v5.*"
paths:
- "api/**"
pull_request:
branches:
branches:
- "master"
- "v3"
- "v4.*"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/api-pull-request.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "API - Pull Request"
name: API - Pull Request

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/backport.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Automatic Backport
name: Prowler - Automatic Backport

on:
pull_request_target:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-documentation-on-pr.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Pull Request Documentation Link
name: Prowler - Pull Request Documentation Link

on:
pull_request:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/find-secrets.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Find secrets
name: Prowler - Find secrets

on: pull_request

Expand All @@ -16,4 +16,4 @@ jobs:
path: ./
base: ${{ github.event.repository.default_branch }}
head: HEAD
extra_args: --only-verified
extra_args: --only-verified
2 changes: 1 addition & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Pull Request Labeler"
name: Prowler - PR Labeler

on:
pull_request_target:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and Push containers
name: SDK - Build and Push containers

on:
push:
Expand Down Expand Up @@ -85,8 +85,8 @@ jobs:
echo "STABLE_TAG=v3-stable" >> "${GITHUB_ENV}"
;;
4)
4)
echo "LATEST_TAG=v4-latest" >> "${GITHUB_ENV}"
echo "STABLE_TAG=v4-stable" >> "${GITHUB_ENV}"
;;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"
name: SDK - CodeQL

on:
push:
branches:
branches:
- "master"
- "v3"
- "v4.*"
paths-ignore:
- 'ui/**'
- 'api/**'
pull_request:
branches:
branches:
- "master"
- "v3"
- "v4.*"
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
config-file: ./.github/codeql/codeql-config.yml
config-file: ./.github/codeql/sdk-codeql-config.yml

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<<<<<<< HEAD:.github/workflows/pull-request.yml
name: "Pull Request"
=======
name: SDK - Pull Request
>>>>>>> 213a793fb (chore(actions): standardize names (#6059)):.github/workflows/sdk-pull-request.yml

on:
push:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: PyPI release
name: SDK - PyPI release

on:
release:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This is a basic workflow to help you get started with Actions

name: Refresh regions of AWS services
name: SDK - Refresh AWS services' regions

on:
schedule:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ui-codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "UI - CodeQL"
name: UI - CodeQL

on:
push:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "UI - Pull Request"
name: UI - Pull Request

on:
pull_request:
Expand Down Expand Up @@ -31,4 +31,4 @@ jobs:
run: npm run healthcheck
- name: Build the application
working-directory: ./ui
run: npm run build
run: npm run build

0 comments on commit 1c679d3

Please sign in to comment.