Skip to content

Commit 50b3885

Browse files
author
Tyler Titsworth
authored
Merge branch 'main' into dependabot/pip/test-runner/test-runner-0abaf62d7c
2 parents a0cd0d0 + 9e9d540 commit 50b3885

File tree

8 files changed

+70
-27
lines changed

8 files changed

+70
-27
lines changed

.github/workflows/chart-ci.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414

1515
name: Helm Chart CI
1616
on:
17+
merge_group: null
1718
pull_request_target:
1819
types: [opened, edited, reopened, synchronize]
1920
branches: [main]
2021
paths:
2122
- 'workflows/charts/**'
22-
merge_group: null
2323
permissions: read-all
2424
concurrency:
2525
group: ${{ github.workflow }}-${{ github.ref }}
@@ -33,9 +33,15 @@ jobs:
3333
with:
3434
egress-policy: audit
3535
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
36+
if: ${{ github.event_name == 'pull_request_target' }}
3637
with:
3738
fetch-depth: 0
3839
ref: "refs/pull/${{ github.event.number }}/merge"
40+
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
41+
if: ${{ github.event_name == 'merge_group' }}
42+
with:
43+
fetch-depth: 0
44+
ref: ${{ github.event.merge_group.head_ref }}
3945
- uses: azure/setup-kubectl@3e0aec4d80787158d308d7b364cb1b702e7feb7f # v4.0.0
4046
- uses: azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # v4.2.0
4147
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0

.github/workflows/dockerhub-description.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ jobs:
2727
uses: step-security/harden-runner@f086349bfa2bd1361f7909c78558e816508cdc10 # v2.8.0
2828
with:
2929
egress-policy: audit
30-
3130
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
3231
- name: Set matrix data
3332
id: set-matrix
@@ -43,7 +42,6 @@ jobs:
4342
uses: step-security/harden-runner@f086349bfa2bd1361f7909c78558e816508cdc10 # v2.8.0
4443
with:
4544
egress-policy: audit
46-
4745
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
4846
- uses: peter-evans/dockerhub-description@e98e4d1628a5f3be2be7c231e50981aee98723ae # v4.0.0
4947
with:

.github/workflows/docs.yaml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
name: Docs
1616
on:
1717
merge_group: null
18+
pull_request_target:
19+
types: [opened, edited, reopened, synchronize]
20+
branches: [main]
1821
push:
1922
branches:
2023
- main
@@ -35,6 +38,17 @@ jobs:
3538
with:
3639
egress-policy: audit
3740
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
41+
if: ${{ github.event_name == 'push' }}
42+
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
43+
if: ${{ github.event_name == 'pull_request_target' }}
44+
with:
45+
fetch-depth: 0
46+
ref: "refs/pull/${{ github.event.number }}/merge"
47+
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
48+
if: ${{ github.event_name == 'merge_group' }}
49+
with:
50+
fetch-depth: 0
51+
ref: ${{ github.event.merge_group.head_ref }}
3852
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
3953
with:
4054
python-version: 3.8
@@ -46,5 +60,5 @@ jobs:
4660
- uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1
4761
with:
4862
path: site
49-
- if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch)
50-
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5
63+
- uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5
64+
if: ${{ github.event_name == 'push' }}

.github/workflows/gitleaks.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
name: gitleaks
1616
on:
17-
merge_group: null
1817
pull_request_target:
1918
types: [opened, edited, reopened, synchronize]
2019
branches: [main]

.github/workflows/integration-test.yaml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
name: Integration Tests
1616
on:
17-
merge_group: null
1817
pull_request_target:
1918
types: [opened, edited, reopened, synchronize]
2019
branches: [main]
@@ -74,20 +73,3 @@ jobs:
7473
group_dir: ${{ matrix.group }}
7574
ref: "refs/pull/${{ github.event.number }}/merge"
7675
secrets: inherit
77-
status-check:
78-
needs: [group-diff, pipeline-ci]
79-
runs-on: ubuntu-latest
80-
if: always()
81-
steps:
82-
- name: Harden Runner
83-
uses: step-security/harden-runner@f086349bfa2bd1361f7909c78558e816508cdc10 # v2.8.0
84-
with:
85-
egress-policy: audit
86-
- run: exit 1
87-
if: >-
88-
${{
89-
contains(needs.*.result, 'failure')
90-
|| contains(needs.*.result, 'cancelled')
91-
|| contains(needs.*.result, 'skipped')
92-
&& needs.group-diff.outputs.groups != '[""]'
93-
}}

.github/workflows/lint.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ on:
1919
pull_request_target:
2020
types: [opened, edited, reopened, synchronize]
2121
branches: [main]
22+
push:
23+
branches:
24+
- main
2225
concurrency:
2326
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
2427
cancel-in-progress: true
@@ -32,9 +35,17 @@ jobs:
3235
with:
3336
egress-policy: audit
3437
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
38+
if: ${{ github.event_name == 'push' }}
39+
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
40+
if: ${{ github.event_name == 'pull_request_target' }}
3541
with:
3642
fetch-depth: 0
3743
ref: "refs/pull/${{ github.event.number }}/merge"
44+
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
45+
if: ${{ github.event_name == 'merge_group' }}
46+
with:
47+
fetch-depth: 0
48+
ref: ${{ github.event.merge_group.head_ref }}
3849
- uses: super-linter/super-linter/slim@5b638caee6ba65e25e07143887b669a1233847a0 # v6.5.1
3950
env:
4051
# To report GitHub Actions status checks

.github/workflows/scorecard.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818

1919
name: Scorecard supply-chain security
2020
on:
21-
branch_protection_rule:
21+
branch_protection_rule: null
2222
schedule:
2323
- cron: '0 6 * * 0'
2424
push:
2525
branches: ["main"]
26-
workflow_dispatch:
26+
workflow_dispatch: null
2727
permissions: read-all
2828
jobs:
2929
analysis:

.github/workflows/test-runner-ci.yaml

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
name: Test Runner CI
1616
on:
1717
merge_group: null
18-
pull_request:
18+
pull_request_target:
19+
types: [opened, edited, reopened, synchronize]
20+
branches: [main]
1921
paths:
2022
- 'test-runner/**'
2123
push:
@@ -38,6 +40,17 @@ jobs:
3840
with:
3941
egress-policy: audit
4042
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
43+
if: ${{ github.event_name == 'push' }}
44+
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
45+
if: ${{ github.event_name == 'pull_request_target' }}
46+
with:
47+
fetch-depth: 0
48+
ref: "refs/pull/${{ github.event.number }}/merge"
49+
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
50+
if: ${{ github.event_name == 'merge_group' }}
51+
with:
52+
fetch-depth: 0
53+
ref: ${{ github.event.merge_group.head_ref }}
4154
- uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3.3.0
4255
with:
4356
driver: docker
@@ -71,8 +84,17 @@ jobs:
7184
with:
7285
egress-policy: audit
7386
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
87+
if: ${{ github.event_name == 'push' }}
88+
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
89+
if: ${{ github.event_name == 'pull_request_target' }}
7490
with:
91+
fetch-depth: 0
7592
ref: "refs/pull/${{ github.event.number }}/merge"
93+
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
94+
if: ${{ github.event_name == 'merge_group' }}
95+
with:
96+
fetch-depth: 0
97+
ref: ${{ github.event.merge_group.head_ref }}
7698
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
7799
with:
78100
python-version: "3.10"
@@ -99,6 +121,17 @@ jobs:
99121
with:
100122
egress-policy: audit
101123
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
124+
if: ${{ github.event_name == 'push' }}
125+
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
126+
if: ${{ github.event_name == 'pull_request_target' }}
127+
with:
128+
fetch-depth: 0
129+
ref: "refs/pull/${{ github.event.number }}/merge"
130+
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
131+
if: ${{ github.event_name == 'merge_group' }}
132+
with:
133+
fetch-depth: 0
134+
ref: ${{ github.event.merge_group.head_ref }}
102135
- uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3.3.0
103136
with:
104137
driver: docker

0 commit comments

Comments
 (0)