Skip to content

Commit c93197b

Browse files
committed
use ssh key instead of pat
1 parent 70866cd commit c93197b

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/actions/merge-main/action.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,21 @@ inputs:
77
runs:
88
using: composite
99
steps:
10-
- name: Merge Main
10+
- name: Checkout repository
1111
uses: actions/checkout@v4
1212
with:
1313
fetch-depth: 0
14-
token: ${{ secrets.CI_USER_PAT }}
15-
- run: |
14+
ssh-key: ${{ secrets.CI_USER_SSH_KEY }}
15+
16+
- name: Set up Git
17+
shell: bash
18+
run: |
1619
git config user.name aws-sdk-kotlin-ci
1720
git config user.email "[email protected]"
1821
22+
- name: Run Script
23+
shell: bash
24+
run: |
1925
input=${{ inputs.exempt-branches }}
2026
2127
function fetch_latest_changes() {

0 commit comments

Comments
 (0)