Skip to content

Commit b5eacdb

Browse files
chore(ci): Set checkout actions to not persist credentials (#17476)
Co-authored-by: Trevor Whitney <trevorjwhitney@gmail.com>
1 parent 32c5088 commit b5eacdb

29 files changed

+170
-20
lines changed

‎.github/jsonnetfile.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"subdir": "workflows"
99
}
1010
},
11-
"version": "8c7c51b23d9d13078a8c44740e3eb6983f7bb667"
11+
"version": "72c821916ad9b13ae86027c88c7f32174260fdd9"
1212
}
1313
],
1414
"legacyImports": true

‎.github/jsonnetfile.lock.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"subdir": "workflows"
99
}
1010
},
11-
"version": "8c7c51b23d9d13078a8c44740e3eb6983f7bb667",
12-
"sum": "42ZmTP0NyLXxS/c79suH/xT9EMSmp4L20f4vTzRlYoY="
11+
"version": "72c821916ad9b13ae86027c88c7f32174260fdd9",
12+
"sum": "t+Ghk4ExAalPKTsNUsiX9ThcY2w0TUvaSNZIurcCrXc="
1313
}
1414
],
1515
"legacyImports": false

‎.github/release-workflows.jsonnet‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,14 @@ local lambdaPromtailJob =
7171
step.new('pull release library code', 'actions/checkout@v4')
7272
+ step.with({
7373
path: 'lib',
74+
'persist-credentials': false,
7475
ref: '${{ env.RELEASE_LIB_REF }}',
7576
repository: 'grafana/loki-release',
7677
}),
7778
step.new('pull code to release', 'actions/checkout@v4')
7879
+ step.with({
7980
path: 'release',
81+
'persist-credentials': false,
8082
repository: '${{ env.RELEASE_REPO }}',
8183
}),
8284
step.new('setup node', 'actions/setup-node@v4')

‎.github/vendor/github.com/grafana/loki-release/workflows/common.libsonnet‎

Lines changed: 6 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.github/vendor/github.com/grafana/loki-release/workflows/install_workflow_dependencies.sh‎

Lines changed: 22 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.github/vendor/github.com/grafana/loki-release/workflows/main.jsonnet‎

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.github/vendor/github.com/grafana/loki-release/workflows/release.libsonnet‎

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.github/vendor/github.com/grafana/loki-release/workflows/validate.libsonnet‎

Lines changed: 30 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.github/vendor/github.com/grafana/loki-release/workflows/workflows.jsonnet‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.github/workflows/backport.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
uses: actions/checkout@v4
1515
with:
1616
repository: "grafana/grafana-github-actions"
17+
persist-credentials: false
1718
path: ./actions
1819
ref: main
1920
- name: Install Actions

0 commit comments

Comments
 (0)