Skip to content

Commit 5714658

Browse files
authored
Merge pull request #517 from Yubico/fix/claude-code-action-v1
ci: update Claude docs automation actions
2 parents 9bc9e05 + 9e795cb commit 5714658

8 files changed

Lines changed: 24 additions & 24 deletions

.github/workflows/architecture-docs-monthly-synthesis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Check out yubikit
21-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
21+
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
2222
with:
2323
fetch-depth: 0
2424
ref: yubikit
@@ -49,9 +49,9 @@ jobs:
4949
--output-dir .architecture-context
5050
5151
- name: Synthesize architecture documentation
52-
uses: anthropics/claude-code-action@28f83620103c48a57093dcc2837eec89e036bb9f # beta (v0.0.63)
52+
uses: anthropics/claude-code-action@769e3bdff9bb7ecfb51bad4c9cba23d6f5fc5ea5 # v1.0.163
5353
with:
54-
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
54+
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
5555
github_token: ${{ secrets.GITHUB_TOKEN }}
5656
prompt: |
5757
Read and follow `.github/prompts/architecture-docs-monthly-synthesis.md`.

.github/workflows/architecture-docs-preview.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Check out source
16-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
16+
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
1717
with:
1818
fetch-depth: 0
1919

@@ -32,9 +32,9 @@ jobs:
3232
3333
- name: Comment with architecture documentation preview
3434
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
35-
uses: anthropics/claude-code-action@28f83620103c48a57093dcc2837eec89e036bb9f # beta (v0.0.63)
35+
uses: anthropics/claude-code-action@769e3bdff9bb7ecfb51bad4c9cba23d6f5fc5ea5 # v1.0.163
3636
with:
37-
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
37+
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
3838
github_token: ${{ secrets.GITHUB_TOKEN }}
3939
prompt: |
4040
Read and follow `.github/prompts/architecture-docs-pr-preview.md`.

.github/workflows/architecture-docs-scheduler-wrapper.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- name: Check out yubikit
24-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
24+
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
2525
with:
2626
fetch-depth: 0
2727
ref: yubikit
@@ -81,9 +81,9 @@ jobs:
8181
8282
- name: Reconcile architecture documentation
8383
if: ${{ steps.impact.outputs.has_affected == 'true' }}
84-
uses: anthropics/claude-code-action@28f83620103c48a57093dcc2837eec89e036bb9f # beta (v0.0.63)
84+
uses: anthropics/claude-code-action@769e3bdff9bb7ecfb51bad4c9cba23d6f5fc5ea5 # v1.0.163
8585
with:
86-
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
86+
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
8787
github_token: ${{ secrets.GITHUB_TOKEN }}
8888
prompt: |
8989
Read and follow `.github/prompts/architecture-docs-post-merge.md`.

.github/workflows/architecture-docs-update.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Check out yubikit
21-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
21+
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
2222
with:
2323
fetch-depth: 0
2424
ref: yubikit
@@ -78,9 +78,9 @@ jobs:
7878
7979
- name: Update architecture documentation
8080
if: ${{ steps.impact.outputs.has_affected == 'true' }}
81-
uses: anthropics/claude-code-action@28f83620103c48a57093dcc2837eec89e036bb9f # beta (v0.0.63)
81+
uses: anthropics/claude-code-action@769e3bdff9bb7ecfb51bad4c9cba23d6f5fc5ea5 # v1.0.163
8282
with:
83-
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
83+
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
8484
github_token: ${{ secrets.GITHUB_TOKEN }}
8585
prompt: |
8686
Read and follow `.github/prompts/architecture-docs-post-merge.md`.

.github/workflows/migration-docs-monthly-synthesis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- name: Check out yubikit
23-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
23+
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
2424
with:
2525
fetch-depth: 0
2626
ref: yubikit
@@ -41,9 +41,9 @@ jobs:
4141
--output-dir .migration-context
4242
4343
- name: Synthesize migration documentation
44-
uses: anthropics/claude-code-action@28f83620103c48a57093dcc2837eec89e036bb9f # beta (v0.0.63)
44+
uses: anthropics/claude-code-action@769e3bdff9bb7ecfb51bad4c9cba23d6f5fc5ea5 # v1.0.163
4545
with:
46-
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
46+
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
4747
github_token: ${{ secrets.GITHUB_TOKEN }}
4848
prompt: |
4949
Read and follow `.github/prompts/migration-docs-monthly-synthesis.md`.

.github/workflows/migration-docs-preview.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Check out source
16-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
16+
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
1717
with:
1818
fetch-depth: 0
1919

@@ -33,9 +33,9 @@ jobs:
3333
--output-dir .migration-context
3434
3535
- name: Comment with migration documentation preview
36-
uses: anthropics/claude-code-action@28f83620103c48a57093dcc2837eec89e036bb9f # beta (v0.0.63)
36+
uses: anthropics/claude-code-action@769e3bdff9bb7ecfb51bad4c9cba23d6f5fc5ea5 # v1.0.163
3737
with:
38-
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
38+
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
3939
github_token: ${{ secrets.GITHUB_TOKEN }}
4040
prompt: |
4141
Read and follow `.github/prompts/migration-docs-pr-preview.md`.

.github/workflows/migration-docs-scheduler-wrapper.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- name: Check out yubikit
24-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
24+
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
2525
with:
2626
fetch-depth: 0
2727
ref: yubikit
@@ -48,9 +48,9 @@ jobs:
4848
--output-dir .migration-context
4949
5050
- name: Reconcile migration documentation
51-
uses: anthropics/claude-code-action@28f83620103c48a57093dcc2837eec89e036bb9f # beta (v0.0.63)
51+
uses: anthropics/claude-code-action@769e3bdff9bb7ecfb51bad4c9cba23d6f5fc5ea5 # v1.0.163
5252
with:
53-
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
53+
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
5454
github_token: ${{ secrets.GITHUB_TOKEN }}
5555
prompt: |
5656
Read and follow `.github/prompts/migration-docs-post-merge.md`.

.github/workflows/migration-docs-update.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Check out source
21-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
21+
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
2222
with:
2323
fetch-depth: 0
2424
ref: yubikit
@@ -56,9 +56,9 @@ jobs:
5656
--output-dir .migration-context
5757
5858
- name: Update migration documentation
59-
uses: anthropics/claude-code-action@28f83620103c48a57093dcc2837eec89e036bb9f # beta (v0.0.63)
59+
uses: anthropics/claude-code-action@769e3bdff9bb7ecfb51bad4c9cba23d6f5fc5ea5 # v1.0.163
6060
with:
61-
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
61+
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
6262
github_token: ${{ secrets.GITHUB_TOKEN }}
6363
prompt: |
6464
Read and follow `.github/prompts/migration-docs-post-merge.md`.

0 commit comments

Comments
 (0)