Skip to content

Commit c2466ad

Browse files
Merge branch 'master' into fix/gost-28147-algorithm-name
2 parents b95785f + 3749afd commit c2466ad

9 files changed

Lines changed: 70 additions & 5 deletions

File tree

.github/dependabot.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ updates:
66
schedule:
77
interval: 'weekly'
88
day: 'saturday'
9+
cooldown:
10+
default-days: 7
911
labels: [ 'dependencies' ]
1012
commit-message:
1113
prefix: 'chore' ## prefix maximum string length of 15
@@ -16,6 +18,8 @@ updates:
1618
schedule:
1719
interval: 'weekly'
1820
day: 'saturday'
21+
cooldown:
22+
default-days: 7
1923
labels: [ 'dependencies' ]
2024
commit-message:
2125
prefix: 'chore' ## prefix maximum string length of 15
@@ -26,6 +30,8 @@ updates:
2630
schedule:
2731
interval: 'weekly'
2832
day: 'saturday'
33+
cooldown:
34+
default-days: 7
2935
labels: [ 'dependencies' ]
3036
commit-message:
3137
prefix: 'chore' ## prefix maximum string length of 15
@@ -36,6 +42,8 @@ updates:
3642
schedule:
3743
interval: 'weekly'
3844
day: 'saturday'
45+
cooldown:
46+
default-days: 7
3947
labels: [ 'dependencies' ]
4048
commit-message:
4149
prefix: 'chore' ## prefix maximum string length of 15
@@ -46,6 +54,8 @@ updates:
4654
schedule:
4755
interval: 'weekly'
4856
day: 'saturday'
57+
cooldown:
58+
default-days: 7
4959
labels: [ 'dependencies' ]
5060
commit-message:
5161
prefix: 'chore' ## prefix maximum string length of 15
@@ -56,6 +66,8 @@ updates:
5666
schedule:
5767
interval: 'weekly'
5868
day: 'saturday'
69+
cooldown:
70+
default-days: 7
5971
labels: [ 'dependencies' ]
6072
commit-message:
6173
prefix: 'chore' ## prefix maximum string length of 15

.github/workflows/build_docs.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
- name: Checkout
2323
# see https://github.com/actions/checkout
2424
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
25+
with:
26+
persist-credentials: false
2527
- name: Set up JDK
2628
# see https://github.com/actions/setup-java
2729
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5
@@ -47,6 +49,8 @@ jobs:
4749
- name: Checkout
4850
# see https://github.com/actions/checkout
4951
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
52+
with:
53+
persist-credentials: false
5054
- name: Setup Python Environment
5155
# see https://github.com/actions/setup-python
5256
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
@@ -71,6 +75,8 @@ jobs:
7175
- name: Checkout
7276
# see https://github.com/actions/checkout
7377
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
78+
with:
79+
persist-credentials: false
7480
- name: Generate Schema documentation
7581
run: ./gen.sh
7682
- name: Archive Schema documentation

.github/workflows/bundle_2.0_schemas.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121
- name: Checkout repository
2222
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2323
with:
24-
token: ${{ secrets.GITHUB_TOKEN }}
24+
persist-credentials: false
2525

2626
- name: Setup Node.js
27-
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
27+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
2828
with:
2929
node-version: '20'
3030

@@ -40,6 +40,8 @@ jobs:
4040
../../../../schema/2.0/cyclonedx-2.0.schema.json
4141
4242
- name: Check for changes and commit
43+
env:
44+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4345
run: |
4446
BUNDLED_FILE="schema/2.0/cyclonedx-2.0-bundled.schema.json"
4547
@@ -54,5 +56,5 @@ jobs:
5456
git config --local user.email "github-actions[bot]@users.noreply.github.com"
5557
git config --local user.name "github-actions[bot]"
5658
git commit -m "chore: update bundled schema [skip ci]"
57-
git push
59+
git push "https://x-access-token:${GH_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
5860
fi

.github/workflows/test_java.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
- name: Checkout
2525
# see https://github.com/actions/checkout
2626
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
27+
with:
28+
persist-credentials: false
2729
- name: Set up JDK
2830
# see https://github.com/actions/setup-java
2931
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5

.github/workflows/test_js.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,11 @@ jobs:
2727
- name: Checkout
2828
# see https://github.com/actions/checkout
2929
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
30+
with:
31+
persist-credentials: false
3032
- name: Setup Node.js
3133
# see https://github.com/actions/setup-node
32-
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
34+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
3335
with:
3436
node-version: '24.x'
3537
package-manager-cache: false

.github/workflows/test_php.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ jobs:
2727
- name: Checkout
2828
# see https://github.com/actions/checkout
2929
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
30+
with:
31+
persist-credentials: false
3032
- name: Setup PHP
3133
# see https://github.com/shivammathur/setup-php
3234
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2

.github/workflows/test_proto.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,7 @@ jobs:
2727
- name: Checkout
2828
# see https://github.com/actions/checkout
2929
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
30+
with:
31+
persist-credentials: false
3032
- name: Run test
3133
run: ./test.sh

.github/workflows/update_spdx_licenses.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
2727
with:
2828
ref: ${{ github.ref_name }}
29+
persist-credentials: false
2930
- name: Set up JDK
3031
# see https://github.com/actions/setup-java
3132
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5
@@ -77,6 +78,7 @@ jobs:
7778
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
7879
with:
7980
ref: ${{ github.ref_name }}
81+
persist-credentials: false
8082
- name: Switch branch
8183
id: branch
8284
run: |
@@ -98,6 +100,8 @@ jobs:
98100
name: schema-spdx
99101
path: schema
100102
- name: Commit and push
103+
env:
104+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
101105
run: |
102106
set -eux
103107
if git diff --quiet -- 'schema/spdx.*'
@@ -109,7 +113,7 @@ jobs:
109113
git config user.email 'spdx-license-bumper@bot.local'
110114
git add -A schema
111115
git commit -s -m "feat: bump SPDX licenses $SB_VERSION"
112-
git push origin "$SB_BRANCH"
116+
git push "https://x-access-token:${GH_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" "$SB_BRANCH"
113117
- name: Pull request
114118
if: ${{ steps.branch.outputs.existed == 'false' }}
115119
run: >

.github/workflows/zizmor.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Zizmor
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- '.github/workflows/**'
7+
- '.github/dependabot.yml'
8+
push:
9+
paths:
10+
- '.github/workflows/**'
11+
- '.github/dependabot.yml'
12+
schedule:
13+
- cron: '0 0 * * 6'
14+
15+
permissions:
16+
contents: read
17+
18+
jobs:
19+
zizmor:
20+
runs-on: ubuntu-latest
21+
timeout-minutes: 10
22+
steps:
23+
- name: Checkout
24+
# see https://github.com/actions/checkout
25+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
26+
with:
27+
persist-credentials: false
28+
- name: Run zizmor
29+
# see https://github.com/zizmorcore/zizmor-action
30+
uses: zizmorcore/zizmor-action@b1d7e1fb5de872772f31590499237e7cce841e8e # v0.5.3
31+
with:
32+
advanced-security: false
33+
annotations: true

0 commit comments

Comments
 (0)