Skip to content

hakadoriya-actions/setup-goprivate

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1da2d07 · Jan 31, 2025

History

11 Commits
Jan 31, 2025
Jan 31, 2025
Jan 31, 2025
Jan 31, 2025

Repository files navigation

Setup GOPRIVATE for GitHub Actions

A GitHub Action for configure git config to clone private repositories under GOPRIVATE.

Example

name: example

on:
  pull_request:

jobs:
  example:
    if: github.actor != 'dependabot[bot]' && github.actor != 'renovate[bot]'
    runs-on: ubuntu-latest
    permissions:
      contents: read
      pull-requests: write
    steps:
      - uses: hakadoriya-actions/setup-goprivate@v0.0.1
        with:
          goprivate: "github.com/hakadoriya"
          token: ${{ secrets.GITHUB_TOKEN }}
      - name: Check global gitconfig
        shell: bash
        run: |
          cat ~/.gitconfig

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published