We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f9ea25 commit ef50970Copy full SHA for ef50970
.github/workflows/release-binaries-save-stage/action.yml
@@ -10,6 +10,9 @@ inputs:
10
required: true
11
type: 'string'
12
13
+permissions:
14
+ contents: read
15
+
16
runs:
17
using: "composite"
18
steps:
@@ -18,6 +21,9 @@ runs:
21
- name: Package Build and Source Directories
19
22
shell: bash
20
23
run: |
24
+ # Remove .git/config to avoid leaking GITHUB_TOKEN stored there.
25
+ # See https://unit42.paloaltonetworks.com/github-repo-artifacts-leak-tokens/
26
+ rm -Rf .git/config
27
# Windows does not support symlinks, so we need to dereference them.
28
tar --exclude build/ ${{ (runner.os == 'Windows' && '-h') || '' }} -c . | zstd -T0 -c > ../llvm-project.tar.zst
29
mv ../llvm-project.tar.zst .
0 commit comments