Skip to content

SatelCreative/satel-update-pr-body

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Satel Update a Pull Request's Body

This centralized GitHub action updates the description of a Pull request with redoc and coverage links as well as badges

Usage

  update-pr-body: 
    needs: [poetry-redoc, generate-badges]
    timeout-minutes: 10
    if: ${{ github.ref != 'refs/heads/main' }}
    # myposter-de/update-pr-description action doesn't run on self-hosted runners
    runs-on: ubuntu-latest
    environment: ${{ inputs.environment }}
    env:
      REDOC_LINKS: ${{ needs.poetry-redoc.outputs.REDOC_LINKS }}
      COVERAGE_LINKS: ${{ needs.poetry-redoc.outputs.COVERAGE_LINKS }}
      BADGE: ${{ needs.generate-badges.outputs.BADGE }}
      MAIN_BADGE: https://<PORTAL_URL>/<repo-name>/${{ inputs.app-name }}-main.svg 
      MAIN_COVERAGE: https://<PORTAL_URL>/coverage.html?repo=<repo-name>&branch=main&app=${{ inputs.app-name }}
    steps:
        - name: PR body action
          uses: SatelCreative/satel-update-pr-body@1.0.0
          with:       
            app-name: ${{ inputs.app-name }}
            redoc-links: ${{ env.REDOC_LINKS }}
            coverage-links: ${{ env.COVERAGE_LINKS }}
            badge: ${{ env.BADGE }}
            main-coverage: ${{ env.MAIN_COVERAGE }}
            main-badge: ${{ env.MAIN_BADGE }}
            github-token: ${{ secrets.GITHUB_TOKEN }}
   

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages