Skip to content
This repository has been archived by the owner on Jan 5, 2022. It is now read-only.

Latest commit

 

History

History
 
 

setup-git

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

setup-git

This GitHub Action configures Git with credentials so it can be used with ease from scripts to push to GitHub.

Usage

See action.yml.

Secrets

The following environment variables are required.

  • GITHUB_TOKEN: The GitHub Actions provided access token for the repository

Basic Usage

on: push
jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v1

      - name: Configure Git
        uses: extenda/actions/setup-git@v0
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}