mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Merge pull request #20104 from Homebrew/sync-shared-config
Synchronize shared configuration
This commit is contained in:
commit
66621b56c9
@ -1,3 +1,4 @@
|
|||||||
|
# This file is synced from the `.github` repository, do not modify it directly.
|
||||||
extensions:
|
extensions:
|
||||||
- addsTo:
|
- addsTo:
|
||||||
pack: codeql/actions-all
|
pack: codeql/actions-all
|
||||||
|
12
.github/workflows/actionlint.yml
vendored
12
.github/workflows/actionlint.yml
vendored
@ -39,7 +39,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Set up Homebrew
|
- name: Set up Homebrew
|
||||||
id: setup-homebrew
|
id: setup-homebrew
|
||||||
uses: Homebrew/actions/setup-homebrew@master
|
uses: Homebrew/actions/setup-homebrew@main
|
||||||
with:
|
with:
|
||||||
core: false
|
core: false
|
||||||
cask: false
|
cask: false
|
||||||
@ -63,7 +63,15 @@ jobs:
|
|||||||
path: results.sarif
|
path: results.sarif
|
||||||
|
|
||||||
- name: Set up actionlint
|
- name: Set up actionlint
|
||||||
run: echo "::add-matcher::$(brew --repository)/.github/actionlint-matcher.json"
|
run: |
|
||||||
|
# In homebrew-core, setting `shell: /bin/bash` prevents shellcheck from running on
|
||||||
|
# those steps, so let's change them to `shell: bash` temporarily for better linting.
|
||||||
|
sed -i 's|shell: /bin/bash -x|shell: bash -x|' .github/workflows/*.y*ml
|
||||||
|
|
||||||
|
# In homebrew-core, the JSON matcher needs to be accessible to the container host.
|
||||||
|
cp "$(brew --repository)/.github/actionlint-matcher.json" "$HOME"
|
||||||
|
|
||||||
|
echo "::add-matcher::$HOME/actionlint-matcher.json"
|
||||||
|
|
||||||
- run: actionlint
|
- run: actionlint
|
||||||
|
|
||||||
|
1
.github/zizmor.yml
vendored
1
.github/zizmor.yml
vendored
@ -1,3 +1,4 @@
|
|||||||
|
# This file is synced from the `.github` repository, do not modify it directly.
|
||||||
rules:
|
rules:
|
||||||
unpinned-uses:
|
unpinned-uses:
|
||||||
config:
|
config:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user