Skip to content

Commit 7a8199b

Browse files
committed
GHA versions upgrades
Signed-off-by: BoykoAlex <alex.boyko@broadcom.com>
1 parent 9e36f05 commit 7a8199b

18 files changed

+36
-161
lines changed

.github/workflows/aggregate-distro-update-sites.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
outputs:
3838
invalid_urls: ${{ steps.gen-aggregate-sites.outputs.invalid_urls }}
3939
steps:
40-
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
40+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2
4141
with:
4242
sparse-checkout: |
4343
.github

.github/workflows/aggregate-ls-extensions-update-site.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
outputs:
2424
invalid_urls: ${{ steps.gen-aggregate-sites.outputs.invalid_urls }}
2525
steps:
26-
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
26+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2
2727
with:
2828
sparse-checkout: |
2929
.github

.github/workflows/announce-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
]
4545
}"
4646
- name: Announce Release on `Spring-Releases` space
47-
uses: spring-io/spring-release-actions/announce-on-gchat@36699a377c2fbd64107472178d373ab043e5c9d5 # 0.0.1
47+
uses: spring-io/spring-release-actions/announce-on-gchat@1750355a66d36126a56c112f43e31b13df7b2c11 # 0.0.2
4848
with:
4949
version: ${{ inputs.version }}
5050
gchat-webhook-url: ${{ secrets.SPRING_RELEASE_GCHAT_WEBHOOK_URL }}

.github/workflows/build-vscode-extension.yml

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ jobs:
3030
name: Build VSCode Extension '${{ inputs.extension-name }}'
3131
steps:
3232
- name: Checkout vscode-extensions code and workflow scripts
33-
uses: actions/checkout@v4
33+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2
3434
- name: Set up JDK 21
35-
uses: actions/setup-java@v4
35+
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # 5.2.0
3636
with:
3737
java-version: '21'
3838
distribution: 'temurin'
@@ -59,23 +59,3 @@ jobs:
5959
aws s3 cp ./vsix/$vsix_file s3://$AWS_S3_BUCKET/$s3_path/$vsix_file --no-progress
6060
echo "version=$base_version" >> $GITHUB_OUTPUT
6161
echo "s3_url=${DOWNLOAD_URL_ROOT}/$s3_path/$vsix_file" >> $GITHUB_OUTPUT
62-
# - id: tools-team-slack
63-
# if: ${{ inputs.dist == 'release' }}
64-
# uses: slackapi/slack-github-action@v1.26
65-
# env:
66-
# SLACK_BOT_TOKEN: ${{ secrets.VMWARE_SLACK_BOT_TOKEN }}
67-
# with:
68-
# channel-id: "C0188MENU2J"
69-
# payload: |
70-
# {
71-
# "text": "Release build `${{ inputs.extension-name }}-${{ steps.upload-release.outputs.version }}`",
72-
# "blocks": [
73-
# {
74-
# "type": "section",
75-
# "text": {
76-
# "type": "mrkdwn",
77-
# "text": "Release build for `${{ inputs.extension-name }}-${{ steps.upload-release.outputs.version }}` is available: ${{ steps.upload-release.outputs.s3_url }}"
78-
# }
79-
# }
80-
# ]
81-
# }

.github/workflows/changelog-draft.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout wiki code
16-
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
16+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2
1717
with:
1818
repository: ${{github.repository}}.wiki
1919
- name: Set up JDK 17
20-
uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2
20+
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # 5.2.0
2121
with:
2222
java-version: '17'
2323
distribution: 'temurin'

.github/workflows/cloudflare-clear-cache-s3-dir.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
sed_pattern="s/^[ \t]*/$ESCAPED_REPLACE_URL/"
3636
urls=`aws s3 ls s3://$AWS_S3_BUCKET${{ inputs.s3-url }} --recursive | awk '{$1=$2=$3=""; print $0}' | sed -e "$sed_pattern" | paste -sd' ' -`
3737
echo "urls=$urls" >> $GITHUB_OUTPUT
38-
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
38+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2
3939
with:
4040
sparse-checkout: |
4141
.github

.github/workflows/create-gh-release.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
name: Changelog for the release
2424
steps:
2525
- name: Checkout wiki code
26-
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
26+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2
2727
with:
2828
repository: ${{github.repository}}.wiki
2929
- name: Extract Changelog
@@ -35,7 +35,7 @@ jobs:
3535
echo $version
3636
echo $qualifier
3737
sed "/${version} ${qualifier}/,/^## .*/!d;//d;s/^* /- /" Changelog.md > ${{ github.workspace }}/gen-changelog.md
38-
- uses: actions/upload-artifact@v4
38+
- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # 6.0.0
3939
with:
4040
name: changelog-${{ inputs.version }}-${{ github.run_id }}.md
4141
path: ${{ github.workspace }}/gen-changelog.md
@@ -47,8 +47,8 @@ jobs:
4747
runs-on: ubuntu-latest
4848
steps:
4949
- name: Checkout code
50-
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
51-
- uses: actions/download-artifact@v4
50+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2
51+
- uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # 7.0.0
5252
with:
5353
name: changelog-${{ inputs.version }}-${{ github.run_id }}.md
5454
path: ${{ github.workspace }}
@@ -65,7 +65,6 @@ jobs:
6565
env:
6666
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6767
with:
68-
id: ${{ inputs.version }}
6968
tag_name: ${{ inputs.version }}
7069
release_name: ${{ inputs.version }}
7170
body_path: ${{ github.workspace }}/gen-changelog.md

.github/workflows/eclipse-ls-extensions-build.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@ jobs:
4646
unzip -q awscliv2.zip
4747
sudo ./aws/install --update
4848
aws --version
49-
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
49+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2
5050
with:
5151
sparse-checkout: |
5252
.github
5353
headless-services
5454
eclipse-language-servers
5555
- name: Set up JDK 21
56-
uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2
56+
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # 5.2.0
5757
with:
5858
java-version: '21'
5959
distribution: 'temurin'
@@ -154,10 +154,3 @@ jobs:
154154
]
155155
}"
156156
157-
notify-failure:
158-
needs: [ eclipse-language-servers-build ]
159-
if: ${{ always() && contains(needs.*.result, 'failure') }}
160-
uses: ./.github/workflows/notify-failed.yml
161-
with:
162-
md_message: "*Failed LS Extensions ${{ inputs.build_type }} Build:* <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|${{ github.run_id }}>"
163-
secrets: inherit

.github/workflows/gh-hosted-eclipse-distro-build.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@ jobs:
4747
unzip -q awscliv2.zip
4848
sudo ./aws/install --update
4949
aws --version
50-
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
50+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2
5151
with:
5252
sparse-checkout: |
5353
.github
5454
eclipse-distribution
5555
eclipse-extensions
5656
- name: Set up JDK ${{ inputs.java_version }}
57-
uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2
57+
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # 5.2.0
5858
with:
5959
java-version: ${{ inputs.java_version }}
6060
distribution: 'temurin'
@@ -179,7 +179,7 @@ jobs:
179179
unzip -q awscliv2.zip
180180
sudo ./aws/install --update
181181
aws --version
182-
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
182+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2
183183
with:
184184
sparse-checkout: |
185185
.github
@@ -236,7 +236,7 @@ jobs:
236236
curl -s "https://awscli.amazonaws.com/AWSCLIV2-2.22.35.pkg" -o "awscliv2.pkg"
237237
sudo installer -pkg ./awscliv2.pkg -target /
238238
aws --version
239-
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
239+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2
240240
with:
241241
sparse-checkout: |
242242
.github
@@ -329,7 +329,7 @@ jobs:
329329
if: ${{ always() && inputs.build_type != 'snapshot' && contains(join(needs.*.result, ','), 'success')}}
330330
runs-on: ubuntu-latest
331331
steps:
332-
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
332+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2
333333
with:
334334
sparse-checkout: |
335335
.github
@@ -433,10 +433,3 @@ jobs:
433433
run: |
434434
aws s3 rm s3://$AWS_S3_BUCKET/sts-distro-ci-temp --recursive --exclude "*" --include "${{ needs.eclipse-distro-build.outputs.id }}/*"
435435
436-
notify-failure:
437-
needs: [ eclipse-distro-build, sign-win-distros, sign-osx-distros, cleanup, purge_cache ]
438-
if: ${{ always() && contains(needs.*.result, 'failure') }}
439-
uses: ./.github/workflows/notify-failed.yml
440-
with:
441-
md_message: "*Failed Eclipse '${{ inputs.eclipse_profile }}' Distribution ${{ inputs.build_type }} Build:* <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|${{ github.run_id }}>"
442-
secrets: inherit

.github/workflows/multiplatform-ls-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ jobs:
3434
os: [ubuntu-latest, macos-latest, windows-latest]
3535
runs-on: ${{ matrix.os }}
3636
steps:
37-
- uses: actions/checkout@v4
37+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2
3838
with:
3939
sparse-checkout: |
4040
.github
4141
headless-services
4242
eclipse-language-servers
4343
- name: Set up JDK 21
44-
uses: actions/setup-java@v4
44+
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # 5.2.0
4545
with:
4646
java-version: '21'
4747
distribution: 'temurin'

0 commit comments

Comments
 (0)