File tree Expand file tree Collapse file tree 4 files changed +16
-2
lines changed Expand file tree Collapse file tree 4 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 22
22
- " **"
23
23
pull_request :
24
24
25
+ permissions :
26
+ contents : read
27
+
25
28
concurrency :
26
29
group : ${{ github.ref || github.run_id }}-${{ github.workflow }}
27
30
cancel-in-progress : true
Original file line number Diff line number Diff line change @@ -17,6 +17,9 @@ name: Build CI Image
17
17
on :
18
18
workflow_dispatch : # Allow manual trigger
19
19
20
+ permissions :
21
+ contents : read
22
+
20
23
concurrency :
21
24
group : ${{ github.ref || github.run_id }}
22
25
cancel-in-progress : true
25
28
build :
26
29
runs-on : ubuntu-24.04
27
30
31
+ permissions :
32
+ contents : read
33
+ packages : write
34
+
28
35
steps :
29
36
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
30
37
with :
Original file line number Diff line number Diff line change 22
22
# push: # Comment this line to trigger action only on pull-requests (not recommended if you don't pay for GH Actions)
23
23
pull_request :
24
24
25
+ permissions :
26
+ contents : read
27
+
25
28
env : # Comment env block if you don't want to apply fixes
26
29
# Apply linter fixes configuration
27
30
APPLY_FIXES : all # When active, APPLY_FIXES must also be defined as environment variable (in github/workflows/mega-linter.yml or other CI tool)
42
45
contents : write
43
46
issues : write
44
47
pull-requests : write
45
- statuses : write
46
48
steps :
47
49
# Git Checkout
48
50
- name : Checkout Code
62
64
VALIDATE_ALL_CODEBASE : " true"
63
65
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
64
66
# ADD YOUR CUSTOM ENV VARIABLES HERE OR DEFINE THEM IN A FILE .mega-linter.yml AT THE ROOT OF YOUR REPOSITORY
65
- GITHUB_STATUS_REPORTER : " true"
66
67
GITHUB_COMMENT_REPORTER : " true"
67
68
PYTHON_RUFF_ARGUMENTS : --config pyproject.toml --config 'output-format="github"'
68
69
PYTHON_RUFF_FORMAT_ARGUMENTS : --config pyproject.toml --config 'output-format="github"'
Original file line number Diff line number Diff line change @@ -21,6 +21,9 @@ concurrency:
21
21
group : ${{ github.ref || github.run_id }}-${{ github.workflow }}
22
22
cancel-in-progress : true
23
23
24
+ permissions :
25
+ contents : read
26
+
24
27
jobs :
25
28
# Upload Trivy data
26
29
trivy :
You can’t perform that action at this time.
0 commit comments