-
Notifications
You must be signed in to change notification settings - Fork 51
Sandbox/rdutta/3.0/update 3.0.20250521 3.0 v4 #326
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
74c9a94
a0e2a01
517a68a
55b0aa9
448cb19
f33d943
9efb56d
4b7b5be
840cde4
dea7b3a
d6f51a5
5e37eeb
a7a419d
fe43366
ff1447f
4541f4a
1050cd8
1b8b37e
d9ccd92
540b2d2
fbfacda
8fa8595
8fd0d89
3fd4c10
91dd93a
8611275
ba1ccd5
a09e742
b397f4c
c045460
b43cf80
c08a8b7
1c49dbb
e64f969
6fa93b2
eddea03
767ea95
13e3bb9
7a10db3
6bf160c
aa48c6e
0c05128
5c8830b
e182f67
e4c7d7e
6ccf7a6
b07adbf
a4e49f1
01d0466
30d7ad1
f5d8d4b
0e2e262
aae1deb
fbc257c
721815f
6277f76
a767021
84d2b92
362a10a
94e26d9
07ad2a8
2c69bf1
1fde606
de7f91a
c474ff4
8baa18b
c10e844
432f8e2
adefc63
9645f0c
10ac7a1
ee0ba8f
28ee4bf
f2a3202
a622439
4a46ba6
eef23cf
4cdfe91
fcdc279
0c95b8b
cf98434
e2fdd60
c62c506
465b5b7
0568651
71ed23d
223ded6
e47e11b
09c3fcf
2c75d9d
5c1cdfd
2ad0882
199ec98
faf8985
1fdc117
d2bb5ae
9740a51
dc8d6a2
278ed85
d3dbf1f
5c3a548
15cc307
d39c248
3b2e6e4
24e667a
3737c09
41af91b
d4ba312
76a7ecc
02f535b
16c03af
6b03e40
7ffacec
11653a1
8f8278e
0049b94
565c0d0
e006449
bd41b9e
05bcd14
fea32fc
4e55b13
43a515b
684faed
902a1c0
91309e5
564a214
976368d
5ade69f
940b196
73d1b48
bfd9038
26109cf
97c618e
f93449c
73d3abb
bb834a8
339d8c2
a3ae661
26492a0
189c033
46db0d3
fe9a0d1
7d2b180
5d76430
c53bd1c
496c5d0
914e595
a924b8a
8a29e28
43dfa39
709e977
05e88db
dc2340b
81f6c4a
31396fa
fc3a5a8
e8f8ab6
7edc702
806af31
ac523a9
d01712c
7e483a8
3eed689
0e479f8
fdb0a1f
02469b5
f7363e9
5a74a32
feb12c0
1bccfb3
a25cb13
33fd972
83d799d
0481b4a
8acb2e8
d1fb3f6
d73da20
0fcce55
39df6fe
52bacd2
302d30d
63c72aa
adaaf9b
c5e6a43
2ded8c3
97d5876
f7e223b
9eb76af
f7e3b38
4af3c90
c36b50d
7afe536
bf092fc
2147429
3c19036
af89812
bf3311b
23521e5
e9c183c
e85b5be
f25f496
8972f1a
55ea3fd
2b22d1e
064cf7c
a1b268e
5fa8c7f
3e3afc8
1d3636f
4b9863b
776ee00
55f61fc
e73c02e
e803fe7
2a6d8d2
0a14c4e
3e23989
e85006e
d17f363
0ee8cb7
4cee6e0
12c5a58
8a108d1
2899a81
3f48a1a
49e7d7d
02ceb98
8a67fc4
28f87c2
cab4240
469ae7b
293fd84
10abee5
13bf13b
837e7d7
d944fbb
98835ba
91ef9b2
e19b003
dc78d7c
4754737
2251bb6
696dc13
1de4113
8fd0667
da84812
3d04526
3cd11c5
6ad0c3b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,48 @@ | |||||||||||||||||||||||||||||
| # Copyright (c) Microsoft Corporation. | |||||||||||||||||||||||||||||
| # Licensed under the MIT License. | |||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||
| # This action checks that the specs in this repo | |||||||||||||||||||||||||||||
| # generate SRPMs with unique names. | |||||||||||||||||||||||||||||
| name: SRPMs duplicates check | |||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||
| on: | |||||||||||||||||||||||||||||
| push: | |||||||||||||||||||||||||||||
| branches: [main, 2.0*, 3.0*, fasttrack/*] | |||||||||||||||||||||||||||||
| pull_request: | |||||||||||||||||||||||||||||
| branches: [main, 2.0*, 3.0*, fasttrack/*] | |||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||
| jobs: | |||||||||||||||||||||||||||||
| check: | |||||||||||||||||||||||||||||
| name: SRPMs duplicates check | |||||||||||||||||||||||||||||
| runs-on: ubuntu-latest | |||||||||||||||||||||||||||||
| strategy: | |||||||||||||||||||||||||||||
| matrix: | |||||||||||||||||||||||||||||
| # Each group is published to a different repo, thus we only need to check | |||||||||||||||||||||||||||||
| # for SRPM duplicates within the group. | |||||||||||||||||||||||||||||
| specs-dirs-groups: ["SPECS SPECS-SIGNED", "SPECS-EXTENDED"] | |||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||
| steps: | |||||||||||||||||||||||||||||
| # Checkout the branch of our repo that triggered this action | |||||||||||||||||||||||||||||
| - name: Workflow trigger checkout | |||||||||||||||||||||||||||||
| uses: actions/checkout@v4 | |||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||
| # For consistency, we use the same major/minor version of Python that Azure Linux ships | |||||||||||||||||||||||||||||
| - name: Setup Python 3.12 | |||||||||||||||||||||||||||||
| uses: actions/setup-python@v5 | |||||||||||||||||||||||||||||
| with: | |||||||||||||||||||||||||||||
| python-version: 3.12 | |||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||
| # Generate the specs.json files. They are the input for the duplicates check script. | |||||||||||||||||||||||||||||
| - name: Generate specs.json | |||||||||||||||||||||||||||||
| run: | | |||||||||||||||||||||||||||||
| set -euo pipefail | |||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||
| for spec_folder in ${{ matrix.specs-dirs-groups }}; do | |||||||||||||||||||||||||||||
| echo "Generating specs.json for spec folder '$spec_folder'." | |||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||
| sudo make -C toolkit -j$(nproc) parse-specs REBUILD_TOOLS=y DAILY_BUILD_ID=lkg SPECS_DIR=../$spec_folder | |||||||||||||||||||||||||||||
| cp -v build/pkg_artifacts/specs.json ${spec_folder}_specs.json | |||||||||||||||||||||||||||||
| done | |||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||
| - name: Check for duplicate SRPMs | |||||||||||||||||||||||||||||
| run: python3 toolkit/scripts/check_srpm_duplicates.py *_specs.json | |||||||||||||||||||||||||||||
|
Comment on lines
+16
to
+48
Check warningCode scanning / CodeQL Workflow does not contain permissions Medium
Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
Copilot AutofixAI 9 months ago To fix the detected issue, we need to add a The
Suggested changeset
1
.github/workflows/check-srpm-duplicates.yml
Copilot is powered by AI and may make mistakes. Always verify output.
Refresh and try again.
|
|||||||||||||||||||||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,6 @@ | ||
| { | ||
| "Signatures": { | ||
| "amtk-5.0.2.tar.xz": "71cc891fbaaa3d0cb87eeef9a2f7e1a2acab62f738d09ea922fb4b9ea2f84f86" | ||
| "amtk-5.6.1.tar.xz": "d50115b85c872aac296934b5ee726a3fa156c6f5ad96d27e0edd0aa5ad173228" | ||
| } | ||
| } | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| { | ||
| "Signatures": { | ||
| "ansible-freeipa-0.3.4.tar.gz": "3c60aadbd612cd577145e85582a5e3ab8d62787592d7789218196cf624ffc85f" | ||
| "ansible-freeipa-1.13.2.tar.gz": "f4965770a906c78988c097aa08a20f84ad268be3479401edeebfe47541cbe0c8" | ||
| } | ||
| } |
Check warning
Code scanning / zizmor
does not set persist-credentials: false Warning