Skip to content

get-last-commit

Actions
Get last commit from GitHub repository
v0.1.0
Latest
Star (0)

get-last-commit

Action for get last commit from GitHub repository

Usage example:

name: print commit

jobs:
  build:
    name: Build binaries
    runs-on: ubuntu-latest
    steps:
      - name: Get commit
        uses: ci-space/get-last-commit@v0.1.0
        id: commit
        env:
          GITHUB_TOKEN: ${{ secrets.DEP_TOKEN }}

      - name: Print commit
        run: echo ${{ steps.commit.outputs.sha }}

get-last-commit is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Get last commit from GitHub repository
v0.1.0
Latest

get-last-commit is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.