Skip to content

Commit aa44f66

Browse files
committed
ci(workflows): Adopt actions/checkout and add write permissions
1 parent 8a1194c commit aa44f66

2 files changed

Lines changed: 8 additions & 12 deletions

File tree

.github/workflows/update-version-prod.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,13 @@ defaults:
1010

1111
jobs:
1212
update-examples-version:
13+
permissions:
14+
contents: write
1315
if: ${{ github.event_name == 'repository_dispatch' }}
1416
runs-on: ubuntu-24.04
1517
steps:
16-
- name: Auth and Checkout
17-
id: auth_and_checkout
18-
uses: gittools/cicd/auth-checkout@main
19-
with:
20-
op-token: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
21-
fetch-depth: 0
18+
- name: Checkout
19+
uses: actions/checkout@v6
2220

2321
- run: |
2422
$oldTag = "${{ github.event.client_payload.oldTag }}"

.github/workflows/update-version-test.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,13 @@ defaults:
1010

1111
jobs:
1212
update-examples-version:
13+
permissions:
14+
contents: write
1315
if: ${{ github.event_name == 'repository_dispatch' }}
1416
runs-on: ubuntu-24.04
1517
steps:
16-
- name: Auth and Checkout
17-
id: auth_and_checkout
18-
uses: gittools/cicd/auth-checkout@main
19-
with:
20-
op-token: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
21-
fetch-depth: 0
18+
- name: Checkout
19+
uses: actions/checkout@v6
2220

2321
- run: |
2422
$oldTag = "${{ github.event.client_payload.oldTag }}"

0 commit comments

Comments
 (0)