Skip to content
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.

gha-trigger/end-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

end-action

GitHub Actions for gha-trigger

What does this action do?

  • Update the commit status according to the job status

Example

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: gha-trigger/end-action@main
        if: always()
        with:
          github_token: ${{steps.start.outputs.github_app_token}}
          state: ${{job.status}}

Inputs

Required

  • github_token: GitHub Access Token to update a commit status
  • state: GitHub Actions current job status

Optional

Environment Variables

Environment Variables must be set by gha-trigger/set-env-action.

Outputs

Nothing.

LICENSE

MIT