HASH 9f296a42cd6c
DATE 2025-01-19
SUBJECT ci: use ssh for check
FILES 1 CHANGED
HASH 9f296a42cd6c
DATE 2025-01-19
SUBJECT ci: use ssh for check
FILES 1 CHANGED
┌─ .github/workflows/check.yaml ─────────────────────────────────────────────┐
│ diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml │
│ index ed7a970..1c5f22e 100644 │
│ --- a/.github/workflows/check.yaml │
│ +++ b/.github/workflows/check.yaml │
│ @@ -17,24 +17,13 @@ jobs: │
│ - name: Checkout │
│ uses: actions/checkout@v4 │
│ │
│ - - name: Generate GitHub App Token │
│ - id: app-token │
│ - uses: actions/create-github-app-token@v1 │
│ + - name: Setup SSH │
│ + uses: webfactory/[email protected] │
│ with: │
│ - app-id: ${{ vars.APP_ID }} │
│ - private-key: ${{ secrets.APP_PRIVATE_KEY }} │
│ - owner: ooks-io │
│ - repositories: kunzen │
│ + ssh-private-key: | │
│ + ${{ secrets.OOKNET_DEPLOY_KEY }} │
│ + ${{ secrets.KUNZEN_DEPLOY_KEY }} │
│ │
│ - - name: Setup Git Config │
│ - run: | │
│ - git config --global url."https://x-access-token:${{ steps.app-token.out │
│ puts.token }}@github.com/".insteadOf "[email protected]:" │
│ - git config --global url."https://x-access-token:${{ steps.app-token.out │
│ puts.token }}@github.com/".insteadOf "ssh://[email protected]/" │
│ - git config --global url."https://x-access-token:${{ steps.app-token.out │
│ puts.token }}@github.com/".insteadOf "git+ssh://[email protected]/" │
│ - │
│ - git config --global --list │
│ - │
│ - git ls-remote https://github.com/ooks-io/kunzen.git │
│ - name: Setup Nix │
│ uses: DeterminateSystems/nix-installer-action@main │
│ │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ .github/workflows/check.yaml ───────┐
│ diff --git a/.github/workflows/check.yaml b/ │
│ .github/workflows/check.yaml │
│ index ed7a970..1c5f22e 100644 │
│ --- a/.github/workflows/check.yaml │
│ +++ b/.github/workflows/check.yaml │
│ @@ -17,24 +17,13 @@ jobs: │
│ - name: Checkout │
│ uses: actions/checkout@v4 │
│ │
│ - - name: Generate GitHub App Token │
│ - id: app-token │
│ - uses: actions/create-github-app-tok │
│ en@v1 │
│ + - name: Setup SSH │
│ + uses: webfactory/[email protected] │
│ with: │
│ - app-id: ${{ vars.APP_ID }} │
│ - private-key: ${{ secrets.APP_PRIV │
│ ATE_KEY }} │
│ - owner: ooks-io │
│ - repositories: kunzen │
│ + ssh-private-key: | │
│ + ${{ secrets.OOKNET_DEPLOY_KEY } │
│ } │
│ + ${{ secrets.KUNZEN_DEPLOY_KEY } │
│ } │
│ │
│ - - name: Setup Git Config │
│ - run: | │
│ - git config --global url."https:// │
│ x-access-token:${{ steps.app-token.outputs.t │
│ oken }}@github.com/".insteadOf "[email protected] │
│ om:" │
│ - git config --global url."https:// │
│ x-access-token:${{ steps.app-token.outputs.t │
│ oken }}@github.com/".insteadOf "ssh://git@gi │
│ thub.com/" │
│ - git config --global url."https:// │
│ x-access-token:${{ steps.app-token.outputs.t │
│ oken }}@github.com/".insteadOf "git+ssh://gi │
│ [email protected]/" │
│ - │
│ - git config --global --list │
│ - │
│ - git ls-remote https://github.com/ │
│ ooks-io/kunzen.git │
│ - name: Setup Nix │
│ uses: DeterminateSystems/nix-instal │
│ ler-action@main │
│ │
└──────────────────────────────────────────────┘
[ BACK TO LOG ]
──────────────────────────────────────────────────────────────────────────────────────
OOKNET
────────────────────────────────────────────────
OOKNET