Commit 03b3b55 1 parent 1968efa commit 03b3b55 Copy full SHA for 03b3b55
File tree 6 files changed +30
-5
lines changed
container/rockylinux-9-dev
6 files changed +30
-5
lines changed Original file line number Diff line number Diff line change 5
5
6
6
name : build on Windows
7
7
8
+ # https://github.blog/changelog/2021-04-20-github-actions-control-permissions-for-github_token/
9
+ permissions :
10
+ # Grant read permissions to repository in case it is not a forked public
11
+ # repository, but a private repository that was created manually.
12
+ contents : read
13
+
8
14
on :
9
15
push :
10
16
paths :
Original file line number Diff line number Diff line change @@ -9,6 +9,12 @@ name: prune container images on self-hosted runners
9
9
# docker permits only a single prune operation at a time
10
10
concurrency : container-prune
11
11
12
+ # https://github.blog/changelog/2021-04-20-github-actions-control-permissions-for-github_token/
13
+ # https://github.com/ossf/scorecard/blob/2ef20f17fb2e64147c83440cd2c769653454015a/docs/checks.md#token-permissions
14
+ permissions :
15
+ # top-level permissions must be defined for security reasons.
16
+ contents : read
17
+
12
18
on :
13
19
push :
14
20
branches :
Original file line number Diff line number Diff line change @@ -24,10 +24,6 @@ permissions:
24
24
# repository, but a private repository that was created manually.
25
25
contents : read
26
26
27
- # If trigger-specific permissions were supported, write permissions to the
28
- # container registry would only be needed for push events.
29
- packages : write
30
-
31
27
on :
32
28
push :
33
29
branches :
61
57
build :
62
58
runs-on : ubuntu-20.04
63
59
60
+ permissions :
61
+ # If trigger-specific permissions were supported, write permissions to the
62
+ # container registry would only be needed for push events.
63
+ packages : write
64
+
64
65
# This rebuilds all container images whenever any single Dockerfile is
65
66
# changed. Therefore, when iterating on a container change, consider
66
67
# temporarily commenting all but the container of interest below.
Original file line number Diff line number Diff line change 1
1
name : Runtime Fuzz Testing
2
2
3
+ # https://github.blog/changelog/2021-04-20-github-actions-control-permissions-for-github_token/
4
+ # https://github.com/ossf/scorecard/blob/2ef20f17fb2e64147c83440cd2c769653454015a/docs/checks.md#token-permissions
5
+ permissions :
6
+ # top-level permissions must be defined for security reasons.
7
+ contents : read
8
+
3
9
on :
4
10
workflow_dispatch :
5
11
inputs :
Original file line number Diff line number Diff line change 9
9
# enforce UNIX line endings for all except Windows-specific text files.
10
10
name : ensure UNIX line endings
11
11
12
+ # https://github.blog/changelog/2021-04-20-github-actions-control-permissions-for-github_token/
13
+ # https://github.com/ossf/scorecard/blob/2ef20f17fb2e64147c83440cd2c769653454015a/docs/checks.md#token-permissions
14
+ permissions :
15
+ # top-level permissions must be defined for security reasons.
16
+ contents : read
17
+
12
18
on :
13
19
push :
14
20
pull_request :
Original file line number Diff line number Diff line change 23
23
&& yum -y upgrade \
24
24
&& yum -y install \
25
25
cmake \
26
- curl \
26
+ # curl \ Start from rockylinux 9.2, curl is available by default
27
27
elfutils-libelf-devel \
28
28
gcc \
29
29
gcc-c++ \
You can’t perform that action at this time.
0 commit comments