File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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 :
You can’t perform that action at this time.
0 commit comments