Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

action-append-pr-description

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

action-append-pr-description

Append the deployment URL to GitHub's pull request description

  • 1.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

action-append-pr-description

The chabroA/action-append-pr-description action is a JavaScript action that appends a provided deployment URL to a GitHub pull request description if not already present.

Usage

steps:
  - name: Add deploy URL to PR description
    uses: chabroA/action-append-pr-description@master
    with:
      auth: ${{ secrets.GITHUB_TOKEN }}
      repo: ${{ github.event.repository.name }}
      owner: ${{ github.repository_owner }}
      pr: ${{ github.event.number }}
      url: "https://my-url.test"
      message: "My url :" 

Inputs

  • auth - (required) A GitHub Secret Token with access to the repository you want to update.

  • repo - (required) The GitHub repository name containing the PR to update.

  • owner - (required) The GitHub repository owner.

  • pr - (required) The pull request number.

  • url - (required) The url to append to the specified pull request description.

  • message - (optional) The message to append before the url.

Outputs

This action does not configure any outputs.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

You can test the action locally by copying the code to your own repo (that uses a github workflow).

When updating the code, don't forget to run yarn package and commit the dist/index.js file since this is the one used by the action.

cf. GitHub Docs about JavaScript action

License

MIT

FAQs

Package last updated on 16 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc