tree: fa50bffb50e78cdec979d9b4babeac8086761b6e [path history] [tgz]
  1. action.yml
  2. entrypoint.sh
  3. README.md
.github/actions/repo-info/README.md

repo-info docker action

This action builds an RPM name, after fetching the latest git commit sha and latest tag on a GitHub repo branch.

Inputs

owner

The owner username or organization owning the GitHub repository containing the branch being queried

repo

The name of the GitHub repository containing the branch being queried

branch

The name of the branch being queried

Outputs

sha

the commit sha from a GitHub repo branch

latest-tag

the latest tag on the branch

exit-code

0 if the tests passed, 1 otherwise.

Example usage

jobs:
  tests:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout
        uses: actions/checkout@master
      - name: Fetch RPM name
        uses: ./.github/actions/repo-info
          with:
            - owner: apache
            - repo: trafficserver
            - branch: 8.1.x