Skip to content

Commit cdecd81

Browse files
authored
Merge pull request #22382 from Homebrew/dependabot/github_actions/github-actions-77fb0c0630
build(deps): bump the github-actions group across 1 directory with 2 updates
2 parents ab32f10 + 4fa8663 commit cdecd81

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/actionlint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101
path: results.sarif
102102

103103
- name: Upload SARIF file
104-
uses: github/codeql-action/upload-sarif@68bde559dea0fdcac2102bfdf6230c5f70eb485e # v4.35.4
104+
uses: github/codeql-action/upload-sarif@9e0d7b8d25671d64c341c19c0152d693099fb5ba # v4.35.5
105105
with:
106106
sarif_file: results.sarif
107107
category: zizmor

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ jobs:
2727
persist-credentials: false
2828

2929
- name: Initialize CodeQL
30-
uses: github/codeql-action/init@68bde559dea0fdcac2102bfdf6230c5f70eb485e # v4.35.4
30+
uses: github/codeql-action/init@9e0d7b8d25671d64c341c19c0152d693099fb5ba # v4.35.5
3131
with:
3232
languages: ruby
3333
config: |
3434
paths-ignore:
3535
- Library/Homebrew/vendor
3636
3737
- name: Perform CodeQL Analysis
38-
uses: github/codeql-action/analyze@68bde559dea0fdcac2102bfdf6230c5f70eb485e # v4.35.4
38+
uses: github/codeql-action/analyze@9e0d7b8d25671d64c341c19c0152d693099fb5ba # v4.35.5

.github/workflows/vendor-gems.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898
GEM_NAME: ${{ steps.checkout.outputs.gem_name }}
9999
working-directory: ${{ steps.set-up-homebrew.outputs.repository-path }}
100100
run: |
101-
if ! git diff --stat --exit-code ".licenses"
101+
if [[ -n "$(git status --porcelain -- ".licenses")" ]]
102102
then
103103
git add ".licenses"
104104
git commit -m "Update RubyGems licence metadata for ${GEM_NAME}." \
@@ -114,15 +114,15 @@ jobs:
114114
GEM_NAME: ${{ steps.checkout.outputs.gem_name }}
115115
working-directory: ${{ steps.set-up-homebrew.outputs.repository-path }}
116116
run: |
117-
if ! git diff --stat --exit-code "Library/Homebrew/sorbet"
117+
if [[ -n "$(git status --porcelain -- "Library/Homebrew/sorbet")" ]]
118118
then
119119
git add "Library/Homebrew/sorbet"
120120
git commit -m "Update RBI files for ${GEM_NAME}." \
121121
-m "Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow."
122122
fi
123123
124124
- name: Generate push token
125-
uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1
125+
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
126126
id: app-token
127127
if: github.event_name == 'workflow_dispatch'
128128
with:

0 commit comments

Comments
 (0)