Skip to content

Commit d818abd

Browse files
authored
Merge branch 'main' into users/jreding/DataMonikerV0
2 parents 675c8a6 + 1659c4b commit d818abd

7 files changed

Lines changed: 59 additions & 14 deletions

File tree

.github/workflows/check_protos.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,22 @@ on:
44
workflow_call:
55
workflow_dispatch:
66

7+
permissions: {}
8+
79
jobs:
810
check_protos:
911
name: Check .proto files
1012
runs-on: ubuntu-latest
1113
steps:
1214
- name: Check out repo
1315
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
16+
with:
17+
persist-credentials: false
1418
- name: Set up Python
15-
uses: ni/python-actions/setup-python@a2894c635a2cba635a1086c1f89796fec2c52f74 # v0.7.2
19+
uses: ni/python-actions/setup-python@a2554c7e5680982d3355677b2290e48b60678744 # v0.8.0
1620
id: setup-python
1721
- name: Set up Poetry
18-
uses: ni/python-actions/setup-poetry@a2894c635a2cba635a1086c1f89796fec2c52f74 # v0.7.2
22+
uses: ni/python-actions/setup-poetry@a2554c7e5680982d3355677b2290e48b60678744 # v0.8.0
1923
- name: Cache virtualenv
2024
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
2125
with:
@@ -26,4 +30,4 @@ jobs:
2630
working-directory: ./.github/check_protos
2731
- name: Check .proto files
2832
run: poetry run python _check_protos.py
29-
working-directory: ./.github/check_protos
33+
working-directory: ./.github/check_protos
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Check workflows
2+
3+
on:
4+
workflow_call:
5+
workflow_dispatch:
6+
7+
permissions: {}
8+
9+
jobs:
10+
zizmor:
11+
name: Run zizmor
12+
runs-on: ubuntu-latest
13+
permissions:
14+
security-events: write
15+
steps:
16+
- name: Check out repo
17+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
18+
with:
19+
persist-credentials: false
20+
- name: Run zizmor
21+
uses: zizmorcore/zizmor-action@5f14fd08f7cf1cb1609c1e344975f152c7ee938d # v0.5.6

.github/workflows/ci.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,22 @@ on:
77
workflow_call:
88
workflow_dispatch:
99

10+
permissions: {}
11+
1012
jobs:
1113
check_protos:
1214
name: Check .proto files
1315
uses: ./.github/workflows/check_protos.yml
16+
check_workflows:
17+
name: Check workflows
18+
uses: ./.github/workflows/check_workflows.yml
19+
permissions:
20+
security-events: write
1421
create_ci_artifacts:
1522
name: Create CI artifacts
1623
uses: ./.github/workflows/create_ci_artifacts.yml
17-
24+
trigger_azdo_ci:
25+
name: Trigger AzDO CI
26+
uses: ./.github/workflows/trigger_azdo_ci.yml
27+
secrets:
28+
AZDO_PIPELINE_TRIGGERS: ${{ secrets.AZDO_PIPELINE_TRIGGERS }}

.github/workflows/create_ci_artifacts.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ on:
44
workflow_call:
55
workflow_dispatch:
66

7-
env:
8-
POETRY_VERSION: 1.8.2
9-
PYTHON_VERSION: 3.11.9
7+
permissions: {}
108

119
jobs:
1210
build:
@@ -16,6 +14,8 @@ jobs:
1614
steps:
1715
- name: Checkout repo
1816
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
17+
with:
18+
persist-credentials: false
1919

2020
- name: Create staging directory
2121
run: |

.github/workflows/pr.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,14 @@ on:
77
workflow_call:
88
workflow_dispatch:
99

10+
permissions: {}
11+
1012
jobs:
1113
check_protos:
1214
name: Check .proto files
13-
uses: ./.github/workflows/check_protos.yml
15+
uses: ./.github/workflows/check_protos.yml
16+
check_workflows:
17+
name: Check workflows
18+
uses: ./.github/workflows/check_workflows.yml
19+
permissions:
20+
security-events: write

.github/workflows/sync_github_issues_to_azdo.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
issue_comment:
99
types: [created, edited, deleted]
1010

11+
permissions: {}
12+
1113
jobs:
1214
alert:
1315
if: ${{ !github.event.issue.pull_request && github.event.issue.title != 'Dependency Dashboard' }}

.github/workflows/trigger_azdo_ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
name: Trigger AzDO CIs
22

33
on:
4-
workflow_run:
5-
workflows: [CI]
6-
types:
7-
- completed
8-
branches:
9-
- main
4+
workflow_call:
5+
secrets:
6+
AZDO_PIPELINE_TRIGGERS:
7+
required: true
108
workflow_dispatch:
119

10+
permissions: {}
11+
1212
jobs:
1313
trigger_azdo_ci:
1414
name: Trigger Main CI

0 commit comments

Comments
 (0)