Skip to content

Commit 007e2fc

Browse files
Merge branch 'master' into Dockerfile_queries_fix_for_case_insensitivity
2 parents adfe6fd + 7767841 commit 007e2fc

53 files changed

Lines changed: 335 additions & 6764 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/dependabot.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

.github/workflows/alert-update-flags.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,13 @@ on:
77
paths:
88
- "internal/console/assets/*-flags.json"
99

10+
permissions:
11+
contents: read
12+
1013
jobs:
1114
notification-update-flags:
1215
name: Send email with flag changes
13-
runs-on: ubuntu-latest
16+
runs-on: cx-public-ubuntu-x64
1417

1518
steps:
1619
- name: Checkout project

.github/workflows/alert-update-terraform-modules.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,13 @@ on:
55
- cron: "0 0 * * 0"
66
workflow_dispatch:
77

8+
permissions:
9+
contents: read
10+
811
jobs:
912
notification-update-flags:
1013
name: Send email with terraform modules updates
11-
runs-on: ubuntu-latest
14+
runs-on: cx-public-ubuntu-x64
1215

1316
steps:
1417
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -25,7 +28,7 @@ jobs:
2528
-c assets/libraries/common.json \
2629
-u https://registry.terraform.io/v1/modules
2730
- name: Create Pull Request
28-
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v6
31+
uses: step-security/create-pull-request@50c103da2b9ca12cd5bc013fc6931051a5aa872b # v8.1.1
2932
with:
3033
title: "feat(queries): update terraform registry data on commons.json"
3134
token: ${{ secrets.KICS_BOT_PAT }}

.github/workflows/cesar.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ env:
1212
jobs:
1313
build:
1414
if: (github.event.label.name == 'cesar' && github.event.pull_request.mergeable == true)
15-
runs-on: ubuntu-latest
15+
runs-on: cx-public-ubuntu-x64
1616

1717
steps:
1818
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

.github/workflows/check-apache-license.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,12 @@ on:
44
types: [opened, synchronize, edited, reopened]
55
branches:
66
- master
7+
permissions:
8+
contents: read
9+
710
jobs:
811
check-license:
9-
runs-on: ubuntu-latest
12+
runs-on: cx-public-ubuntu-x64
1013
env:
1114
BODY: ${{ github.event.pull_request.body }}
1215
USERNAME: ${{ github.event.pull_request.user.login }}
@@ -33,7 +36,7 @@ jobs:
3336
fi
3437
- name: Delete comment if license is fixed
3538
if: env.TAG_EXISTS == 'true'
36-
uses: thollander/actions-comment-pull-request@e4a76dd2b0a3c2027c3fd84147a67c22ee4c90fa
39+
uses: step-security/actions-comment-pull-request@60cd38988a354b2d22b47612fb02a20e822d6048 # v3.0.2
3740
with:
3841
message: |
3942
Deleting comment...
@@ -42,7 +45,7 @@ jobs:
4245
github-token: ${{ secrets.KICS_BOT_PAT }}
4346
- name: Add comment if no license
4447
if: env.CHECK_FAILED == 'true'
45-
uses: thollander/actions-comment-pull-request@e4a76dd2b0a3c2027c3fd84147a67c22ee4c90fa
48+
uses: step-security/actions-comment-pull-request@60cd38988a354b2d22b47612fb02a20e822d6048 # v3.0.2
4649
with:
4750
file-path: .github/scripts/pr-issue-info/apache-check.md
4851
comment-tag: apache_license

.github/workflows/check-go-coverage.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@ on:
44
pull_request:
55
branches: [master]
66

7+
permissions:
8+
contents: read
9+
710
jobs:
811
coverage:
912
name: generate-coverage
10-
runs-on: ubuntu-latest
13+
runs-on: cx-public-ubuntu-x64
1114
outputs:
1215
coverage: ${{ steps.testcov.outputs.coverage }}
1316
color: ${{ steps.testcov.outputs.color }}

.github/workflows/ci-projects.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ env:
1313
jobs:
1414
build:
1515
if: github.event.pull_request.merged == true
16-
runs-on: ubuntu-latest
16+
runs-on: cx-public-ubuntu-x64
1717

1818
steps:
1919
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

.github/workflows/go-ci-coverage.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,13 @@ on:
55
branches:
66
- "master"
77

8+
permissions:
9+
contents: read
10+
811
jobs:
912
coverage:
1013
name: generate-coverage
11-
runs-on: ubuntu-latest
14+
runs-on: cx-public-ubuntu-x64
1215
outputs:
1316
coverage: ${{ steps.testcov.outputs.coverage }}
1417
color: ${{ steps.testcov.outputs.color }}
@@ -42,8 +45,10 @@ jobs:
4245
name: ${{ runner.os }}-coverage-latest
4346
path: coverage.html
4447
publish:
48+
permissions:
49+
contents: write # for Git to git push
4550
name: publish-coverage
46-
runs-on: ubuntu-latest
51+
runs-on: cx-public-ubuntu-x64
4752
needs: coverage
4853
steps:
4954
- name: Checkout Source

.github/workflows/go-ci-integration.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,19 @@ on:
44
pull_request:
55
branches: [master]
66

7+
permissions:
8+
contents: read
9+
710
jobs:
811
integration-tests:
12+
permissions:
13+
actions: write # for fkirc/skip-duplicate-actions to skip or stop workflow runs
14+
contents: read # for docker/build-push-action to read repo content
915
name: integration-tests
10-
runs-on: ubuntu-latest
16+
runs-on: cx-public-ubuntu-x64
1117
steps:
1218
- id: skip_check
13-
uses: fkirc/skip-duplicate-actions@f75f66ce1886f00957d99748a42c724f4330bdcf # v5.3.1
19+
uses: step-security/skip-duplicate-actions@4eef6ae57f2ca5ea100e5c1da2ead9138483f53c # v5.3.4
1420
with:
1521
cancel_others: false
1622
paths_ignore: '["docs/**", "**/**.md", "examples"]'
@@ -20,7 +26,7 @@ jobs:
2026
persist-credentials: false
2127
- name: Set up Docker Buildx
2228
id: buildx
23-
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
29+
uses: step-security/setup-buildx-action@f931205d68723ad9589fd2a7e2ece238bf9de341 # v4.0.0
2430
- name: Cache Docker layers
2531
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
2632
with:
@@ -32,7 +38,7 @@ jobs:
3238
run: echo "GITHUB_SHA_SHORT=$(echo $GITHUB_SHA | cut -c 1-8)" >> $GITHUB_ENV
3339
- name: Build
3440
id: docker_build
35-
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
41+
uses: step-security/docker-build-push-action@846549baaf047e867d038826129a64d81df0f704 # v7.1.0
3642
with:
3743
load: true
3844
context: ./

.github/workflows/go-ci-metrics.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,13 @@ on:
66
branches: [master]
77
paths:
88
- "assets/queries/**/metadata.json"
9+
permissions:
10+
contents: read
11+
912
jobs:
1013
metrics:
1114
name: test-metrics
12-
runs-on: ubuntu-latest
15+
runs-on: cx-public-ubuntu-x64
1316
steps:
1417
- name: Checkout Source
1518
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -31,8 +34,10 @@ jobs:
3134
name: ${{ runner.os }}-queries-badge-latest
3235
path: queries.svg
3336
publish:
37+
permissions:
38+
contents: write # for Git to git push
3439
name: publish-metrics
35-
runs-on: ubuntu-latest
40+
runs-on: cx-public-ubuntu-x64
3641
needs: metrics
3742
steps:
3843
- name: Checkout Source

0 commit comments

Comments
 (0)