Skip to content

An action which exports additional job related URLs as environmental variables

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

ipdxco/job-summary-url-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Job Summary URL

The action calculates the permalink to the job summary for a given job ID. It also provides links to the run, job, and the raw summary which are not available in the workflow run context by default.

If no inputs are provided, the action will calculate the URLs for the currently runnnig job.

NOTE: github.job, the default for the job parameter, refers to the job ID rather than its' name. That's why it is quite likely you will have to provide the job name explicitly. See the test for example.

Inputs

Name Description Required Default
repository The owner and repository name. Defaults to GITHUB_REPOSITORY. true github.repository
server_url The URL of the GitHub server. Defaults to GITHUB_SERVER_URL. true github.server_url
workflow The name or the id of the workflow. Defaults to GITHUB_WORKFLOW. true github.workflow
run_id The id of the workflow run. Or latest. Defaults to GITHUB_RUN_ID. true github.run_id
run_attempt The number of the attempt of the workflow run. Or latest. Defaults to GITHUB_RUN_ATTEMPT. true github.run_attempt
job A unique string for the workflow run job. Or latest. Defaults to GITHUB_JOB. true github.job

Outputs

Name Description
run_url The URL of the run
job_url The URL of the job
job_summary_url The URL of the job summary
job_summary_raw_url The URL of the raw job summary

Example

- id: exp
  uses: pl-strflt/job-summary-url-action@v1
- run: echo '${{ steps.exp.outputs.job_summary_url }}'
  shell: bash

About

An action which exports additional job related URLs as environmental variables

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published