Skip to content

chore: introduce automation for updating GAF in CLI #1

chore: introduce automation for updating GAF in CLI

chore: introduce automation for updating GAF in CLI #1

Workflow file for this run

name: Create CLI PR
on:
workflow_dispatch:
pull_request:
jobs:
create-pr:
runs-on: ubuntu-latest
steps:
- name: Prepare git
run: git config --global core.autocrlf false
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Determine Go version
run: |
sed -En 's/^go[[:space:]]+([[:digit:].]+)$/GO_VERSION=\1/p' go.mod >> $GITHUB_ENV
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
cache: "true"
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.TEAM_IDE_USER_SSH }}
- name: Create PR in CLI to integrate LS
env:
GH_TOKEN: ${{ secrets.TEAM_CLI_GITHUB_PAT_GAF }}
GITHUB_TOKEN: ${{ secrets.TEAM_CLI_GITHUB_PAT_GAF }}
PUB_SIGNING_KEY: ${{ secrets.TEAM_CLI_USER_SSH_PUB }}
run: |
.github/create-cli-pr.sh