Skip to content

Commit d9a8603

Browse files
committed
On branch edburns/dd-2785864-pre-public-non-code-changes Pin actions to specific SHA per request from @karianna
modified: .github/workflows/build-test.yml modified: .github/workflows/copilot-setup-steps.yml modified: .github/workflows/deploy-site.yml modified: .github/workflows/publish-maven.yml modified: .github/workflows/publish-snapshot.yml modified: .github/workflows/weekly-upstream-sync.yml > prefer #commmit versions e.g., actions/checkout@#4s9df7sdf98d7f8s9df7sd9f87ds #v6.0.0 modified: src/site/markdown/advanced.md > I think we can word that differently as we are the official SDK.
1 parent 3809ed1 commit d9a8603

File tree

8 files changed

+27
-27
lines changed

8 files changed

+27
-27
lines changed

.github/workflows/build-test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ jobs:
3232
run:
3333
shell: bash
3434
steps:
35-
- uses: actions/checkout@v6
36-
- uses: actions/setup-node@v6
35+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
36+
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
3737
with:
3838
node-version: 22
39-
- uses: actions/setup-java@v5
39+
- uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5
4040
with:
4141
java-version: "17"
4242
distribution: "temurin"
@@ -78,7 +78,7 @@ jobs:
7878

7979
- name: Upload test results for site generation
8080
if: success() && github.ref == 'refs/heads/main'
81-
uses: actions/upload-artifact@v6
81+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
8282
with:
8383
name: test-results-for-site
8484
path: |

.github/workflows/copilot-setup-steps.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,22 @@ jobs:
2020
steps:
2121
# Clone the repository
2222
- name: Checkout repository
23-
uses: actions/checkout@v6
23+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2424

2525
# Install GitHub CLI and gh-aw extension for Copilot Agent interaction
2626
- name: Install gh-aw extension
27-
uses: github/gh-aw/actions/setup-cli@v0.42.17
27+
uses: github/gh-aw/actions/setup-cli@7a970851c1090295e55a16e549c61ba1ce227f16 # v0.42.17
2828
with:
2929
version: v0.42.17
3030

3131
# Setup Node.js
32-
- uses: actions/setup-node@v6
32+
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
3333
with:
3434
node-version: 22
3535

3636
# Set up JDK 17
3737
- name: Set up JDK 17
38-
uses: actions/setup-java@v5
38+
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5
3939
with:
4040
java-version: '17'
4141
distribution: 'temurin'

.github/workflows/deploy-site.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,19 +56,19 @@ jobs:
5656
url: ${{ steps.deployment.outputs.page_url }}
5757
steps:
5858
- name: Checkout
59-
uses: actions/checkout@v6
59+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6060
with:
6161
fetch-depth: 0
6262

6363
- name: Set up JDK 17
64-
uses: actions/setup-java@v5
64+
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5
6565
with:
6666
java-version: '17'
6767
distribution: 'temurin'
6868
cache: 'maven'
6969

7070
- name: Checkout gh-pages branch
71-
uses: actions/checkout@v6
71+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
7272
with:
7373
ref: gh-pages
7474
path: site
@@ -120,7 +120,7 @@ jobs:
120120
121121
- name: Download test results from Build & Test
122122
if: steps.tags.outputs.is_release == 'false' && inputs.rebuild_all_versions != true && github.event_name == 'workflow_run'
123-
uses: actions/download-artifact@v4
123+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
124124
with:
125125
name: test-results-for-site
126126
path: /tmp/test-results
@@ -293,13 +293,13 @@ jobs:
293293
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
294294

295295
- name: Setup Pages
296-
uses: actions/configure-pages@v5
296+
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5
297297

298298
- name: Upload artifact
299-
uses: actions/upload-pages-artifact@v4
299+
uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4
300300
with:
301301
path: 'site'
302302

303303
- name: Deploy to GitHub Pages
304304
id: deployment
305-
uses: actions/deploy-pages@v4
305+
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4

.github/workflows/publish-maven.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
outputs:
3939
version: ${{ steps.versions.outputs.release_version }}
4040
steps:
41-
- uses: actions/checkout@v6
41+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4242
with:
4343
fetch-depth: 0
4444
token: ${{ secrets.GITHUB_TOKEN }}
@@ -51,10 +51,10 @@ jobs:
5151
- uses: ./.github/actions/setup-copilot
5252

5353
- name: Set up JDK 17
54-
uses: actions/setup-java@v5
54+
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5
5555
with:
5656
java-version: "17"
57-
distribution: "temurin"
57+
distribution: "microsoft"
5858
cache: "maven"
5959
server-id: central
6060
server-username: MAVEN_USERNAME
@@ -169,7 +169,7 @@ jobs:
169169
if: github.ref == 'refs/heads/main'
170170
runs-on: ubuntu-latest
171171
steps:
172-
- uses: actions/checkout@v6
172+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
173173
with:
174174
fetch-depth: 0
175175
- name: Create GitHub Release

.github/workflows/publish-snapshot.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,17 @@ jobs:
1818
name: Publish SNAPSHOT to Maven Central
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@v6
21+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2222
with:
2323
fetch-depth: 0
2424

2525
- uses: ./.github/actions/setup-copilot
2626

2727
- name: Set up JDK 17
28-
uses: actions/setup-java@v5
28+
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5
2929
with:
3030
java-version: "17"
31-
distribution: "temurin"
31+
distribution: "microsoft"
3232
cache: "maven"
3333
server-id: central
3434
server-username: MAVEN_USERNAME

.github/workflows/weekly-upstream-sync.lock.yml

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/weekly-upstream-sync.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

2525
steps:
2626
- name: Checkout repository
27-
uses: actions/checkout@v6
27+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2828

2929
- name: Check for upstream changes
3030
id: check

src/site/markdown/advanced.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Advanced Usage
22

3-
> ⚠️ **Disclaimer:** This SDK tracks the pre-GA GitHub Copilot SDKs for .NET and nodejs. This SDK may change in breaking ways. Use at your own risk.
3+
> **Disclaimer:** This is the official Java SDK for GitHub Copilot. This repository treats the official .NET and nodejs SDKs for GitHub Copilot as reference implementations. These SDKS are all officially supported as GitHub open source projects. The Java implementation follows the backward compatibility guarantees offered by the reference implementations. As such this implementation may introduce breaking changes, according to the policy declared by the reference implementations. Use at your own risk.
44
55
This guide covers advanced scenarios for extending and customizing your Copilot integration.
66

0 commit comments

Comments
 (0)