Skip to content

Commit

Permalink
Rename pr-info to get-pr
Browse files Browse the repository at this point in the history
  • Loading branch information
goruha committed Aug 6, 2024
1 parent 2b005ff commit bd1fac4
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 31 deletions.
2 changes: 1 addition & 1 deletion .github/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
_extends: .github

repository:
name: pr-info
name: get-pr
description: Get the PR info associated with the commit
homepage: https://cloudposse.com/accelerate
topics: "github-action"
42 changes: 21 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- markdownlint-disable -->
<a href="https://cpco.io/homepage"><img src=".github/banner.png?raw=true" alt="Project Banner"/></a><br/>
<p align="right">
<a href="https://github.com/cloudposse-github-actions/pr-info/releases/latest"><img src="https://img.shields.io/github/release/cloudposse-github-actions/pr-info.svg" alt="Latest Release"/></a><a href="https://slack.cloudposse.com"><img src="https://slack.cloudposse.com/badge.svg" alt="Slack Community"/></a></p>
<a href="https://github.com/cloudposse-github-actions/get-pr/releases/latest"><img src="https://img.shields.io/github/release/cloudposse-github-actions/get-pr.svg" alt="Latest Release"/></a><a href="https://slack.cloudposse.com"><img src="https://slack.cloudposse.com/badge.svg" alt="Slack Community"/></a></p>
<!-- markdownlint-restore -->

<!--
Expand Down Expand Up @@ -31,14 +31,14 @@ Get the PR info associated with the commit.

---
> [!NOTE]
> This project is part of Cloud Posse's comprehensive ["SweetOps"](https://cpco.io/homepage?utm_source=github&utm_medium=readme&utm_campaign=cloudposse-github-actions/pr-info&utm_content=) approach towards DevOps.
> This project is part of Cloud Posse's comprehensive ["SweetOps"](https://cpco.io/homepage?utm_source=github&utm_medium=readme&utm_campaign=cloudposse-github-actions/get-pr&utm_content=) approach towards DevOps.
> <details><summary><strong>Learn More</strong></summary>
>
>
> We have [*dozens of GitHub Actions*](https://github.com/cloudposse-github-actions?utm_source=github&utm_medium=readme&utm_campaign=cloudposse-github-actions/pr-info&utm_content=github_actions) that are Open Source and well-maintained. Check them out!
> We have [*dozens of GitHub Actions*](https://github.com/cloudposse-github-actions?utm_source=github&utm_medium=readme&utm_campaign=cloudposse-github-actions/get-pr&utm_content=github_actions) that are Open Source and well-maintained. Check them out!
> </details>
<a href="https://cloudposse.com/readme/header/link?utm_source=github&utm_medium=readme&utm_campaign=cloudposse-github-actions/pr-info&utm_content=readme_header_link"><img src="https://cloudposse.com/readme/header/img"/></a>
<a href="https://cloudposse.com/readme/header/link?utm_source=github&utm_medium=readme&utm_campaign=cloudposse-github-actions/get-pr&utm_content=readme_header_link"><img src="https://cloudposse.com/readme/header/img"/></a>


## Introduction
Expand Down Expand Up @@ -70,7 +70,7 @@ Fork of [8BitJonny/gh-get-current-pr](https://github.com/8BitJonny/gh-get-curren
name: PR Info
runs-on: ubuntu-latest
steps:
- uses: cloudposse-github-actions/pr-info@v0
- uses: cloudposse-github-actions/get-pr@v0
id: pr
outputs:
base: ${{ fromJSON(steps.pr.outputs.pr).base.sha }}
Expand Down Expand Up @@ -138,21 +138,21 @@ For additional context, refer to some of these links.
This project is under active development, and we encourage contributions from our community.
Many thanks to our outstanding contributors:
<a href="https://github.com/cloudposse-github-actions/pr-info/graphs/contributors">
<img src="https://contrib.rocks/image?repo=cloudposse-github-actions/pr-info&max=24" />
<a href="https://github.com/cloudposse-github-actions/get-pr/graphs/contributors">
<img src="https://contrib.rocks/image?repo=cloudposse-github-actions/get-pr&max=24" />
</a>
### 🐛 Bug Reports & Feature Requests
Please use the [issue tracker](https://github.com/cloudposse-github-actions/pr-info/issues) to report any bugs or file feature requests.
Please use the [issue tracker](https://github.com/cloudposse-github-actions/get-pr/issues) to report any bugs or file feature requests.
### 💻 Developing
If you are interested in being a contributor and want to get involved in developing this project or help out with Cloud Posse's other projects, we would love to hear from you!
Hit us up in [Slack](https://cpco.io/slack?utm_source=github&utm_medium=readme&utm_campaign=cloudposse-github-actions/pr-info&utm_content=slack), in the `#cloudposse` channel.
Hit us up in [Slack](https://cpco.io/slack?utm_source=github&utm_medium=readme&utm_campaign=cloudposse-github-actions/get-pr&utm_content=slack), in the `#cloudposse` channel.

In general, PRs are welcome. We follow the typical "fork-and-pull" Git workflow.
1. Review our [Code of Conduct](https://github.com/cloudposse-github-actions/pr-info/?tab=coc-ov-file#code-of-conduct) and [Contributor Guidelines](https://github.com/cloudposse/.github/blob/main/CONTRIBUTING.md).
1. Review our [Code of Conduct](https://github.com/cloudposse-github-actions/get-pr/?tab=coc-ov-file#code-of-conduct) and [Contributor Guidelines](https://github.com/cloudposse/.github/blob/main/CONTRIBUTING.md).
2. **Fork** the repo on GitHub
3. **Clone** the project to your own machine
4. **Commit** changes to your own branch
Expand All @@ -163,28 +163,28 @@ In general, PRs are welcome. We follow the typical "fork-and-pull" Git workflow.

### 🌎 Slack Community

Join our [Open Source Community](https://cpco.io/slack?utm_source=github&utm_medium=readme&utm_campaign=cloudposse-github-actions/pr-info&utm_content=slack) on Slack. It's **FREE** for everyone! Our "SweetOps" community is where you get to talk with others who share a similar vision for how to rollout and manage infrastructure. This is the best place to talk shop, ask questions, solicit feedback, and work together as a community to build totally *sweet* infrastructure.
Join our [Open Source Community](https://cpco.io/slack?utm_source=github&utm_medium=readme&utm_campaign=cloudposse-github-actions/get-pr&utm_content=slack) on Slack. It's **FREE** for everyone! Our "SweetOps" community is where you get to talk with others who share a similar vision for how to rollout and manage infrastructure. This is the best place to talk shop, ask questions, solicit feedback, and work together as a community to build totally *sweet* infrastructure.

### 📰 Newsletter

Sign up for [our newsletter](https://cpco.io/newsletter?utm_source=github&utm_medium=readme&utm_campaign=cloudposse-github-actions/pr-info&utm_content=newsletter) and join 3,000+ DevOps engineers, CTOs, and founders who get insider access to the latest DevOps trends, so you can always stay in the know.
Sign up for [our newsletter](https://cpco.io/newsletter?utm_source=github&utm_medium=readme&utm_campaign=cloudposse-github-actions/get-pr&utm_content=newsletter) and join 3,000+ DevOps engineers, CTOs, and founders who get insider access to the latest DevOps trends, so you can always stay in the know.
Dropped straight into your Inbox every week — and usually a 5-minute read.

### 📆 Office Hours <a href="https://cloudposse.com/office-hours?utm_source=github&utm_medium=readme&utm_campaign=cloudposse-github-actions/pr-info&utm_content=office_hours"><img src="https://img.cloudposse.com/fit-in/200x200/https://cloudposse.com/wp-content/uploads/2019/08/Powered-by-Zoom.png" align="right" /></a>
### 📆 Office Hours <a href="https://cloudposse.com/office-hours?utm_source=github&utm_medium=readme&utm_campaign=cloudposse-github-actions/get-pr&utm_content=office_hours"><img src="https://img.cloudposse.com/fit-in/200x200/https://cloudposse.com/wp-content/uploads/2019/08/Powered-by-Zoom.png" align="right" /></a>

[Join us every Wednesday via Zoom](https://cloudposse.com/office-hours?utm_source=github&utm_medium=readme&utm_campaign=cloudposse-github-actions/pr-info&utm_content=office_hours) for your weekly dose of insider DevOps trends, AWS news and GitHub Action insights, all sourced from our SweetOps community, plus a _live Q&A_ that you can’t find anywhere else.
[Join us every Wednesday via Zoom](https://cloudposse.com/office-hours?utm_source=github&utm_medium=readme&utm_campaign=cloudposse-github-actions/get-pr&utm_content=office_hours) for your weekly dose of insider DevOps trends, AWS news and GitHub Action insights, all sourced from our SweetOps community, plus a _live Q&A_ that you can’t find anywhere else.
It's **FREE** for everyone!

## About

This project is maintained by <a href="https://cpco.io/homepage?utm_source=github&utm_medium=readme&utm_campaign=cloudposse-github-actions/pr-info&utm_content=">Cloud Posse, LLC</a>.
<a href="https://cpco.io/homepage?utm_source=github&utm_medium=readme&utm_campaign=cloudposse-github-actions/pr-info&utm_content="><img src="https://cloudposse.com/logo-300x69.svg" align="right" /></a>
This project is maintained by <a href="https://cpco.io/homepage?utm_source=github&utm_medium=readme&utm_campaign=cloudposse-github-actions/get-pr&utm_content=">Cloud Posse, LLC</a>.
<a href="https://cpco.io/homepage?utm_source=github&utm_medium=readme&utm_campaign=cloudposse-github-actions/get-pr&utm_content="><img src="https://cloudposse.com/logo-300x69.svg" align="right" /></a>

We are a [**DevOps Accelerator**](https://cpco.io/commercial-support?utm_source=github&utm_medium=readme&utm_campaign=cloudposse-github-actions/pr-info&utm_content=commercial_support) for funded startups and enterprises.
We are a [**DevOps Accelerator**](https://cpco.io/commercial-support?utm_source=github&utm_medium=readme&utm_campaign=cloudposse-github-actions/get-pr&utm_content=commercial_support) for funded startups and enterprises.
Use our ready-to-go terraform architecture blueprints for AWS & GitHub Actions to get up and running quickly.
We build it with you. You own everything. Your team wins. Plus, we stick around until you succeed.

<a href="https://cpco.io/commercial-support?utm_source=github&utm_medium=readme&utm_campaign=cloudposse-github-actions/pr-info&utm_content=commercial_support"><img alt="Learn More" src="https://img.shields.io/badge/learn%20more-success.svg?style=for-the-badge"/></a>
<a href="https://cpco.io/commercial-support?utm_source=github&utm_medium=readme&utm_campaign=cloudposse-github-actions/get-pr&utm_content=commercial_support"><img alt="Learn More" src="https://img.shields.io/badge/learn%20more-success.svg?style=for-the-badge"/></a>

*Your team can operate like a pro today.*

Expand All @@ -205,7 +205,7 @@ Ensure that your team succeeds by using our proven process and turnkey blueprint
- **Bug Fixes.** We'll rapidly work with you to fix any bugs in our projects.
</details>

<a href="https://cloudposse.com/readme/commercial-support/link?utm_source=github&utm_medium=readme&utm_campaign=cloudposse-github-actions/pr-info&utm_content=readme_commercial_support_link"><img src="https://cloudposse.com/readme/commercial-support/img"/></a>
<a href="https://cloudposse.com/readme/commercial-support/link?utm_source=github&utm_medium=readme&utm_campaign=cloudposse-github-actions/get-pr&utm_content=readme_commercial_support_link"><img src="https://cloudposse.com/readme/commercial-support/img"/></a>

## Trademarks

Expand All @@ -214,6 +214,6 @@ All other trademarks referenced herein are the property of their respective owne
Copyright © 2017-2024 [Cloud Posse, LLC](https://cpco.io/copyright)


<a href="https://cloudposse.com/readme/footer/link?utm_source=github&utm_medium=readme&utm_campaign=cloudposse-github-actions/pr-info&utm_content=readme_footer_link"><img alt="README footer" src="https://cloudposse.com/readme/footer/img"/></a>
<a href="https://cloudposse.com/readme/footer/link?utm_source=github&utm_medium=readme&utm_campaign=cloudposse-github-actions/get-pr&utm_content=readme_footer_link"><img alt="README footer" src="https://cloudposse.com/readme/footer/img"/></a>

<img alt="Beacon" width="0" src="https://ga-beacon.cloudposse.com/UA-76589703-4/cloudposse-github-actions/pr-info?pixel&cs=github&cm=readme&an=pr-info"/>
<img alt="Beacon" width="0" src="https://ga-beacon.cloudposse.com/UA-76589703-4/cloudposse-github-actions/get-pr?pixel&cs=github&cm=readme&an=get-pr"/>
8 changes: 4 additions & 4 deletions README.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ tags:
license: "GPL-3.0"

# Canonical GitHub repo
github_repo: cloudposse-github-actions/pr-info
github_repo: cloudposse-github-actions/get-pr

# Badges to display
badges:
- name: "Latest Release"
image: "https://img.shields.io/github/release/cloudposse-github-actions/pr-info.svg"
url: "https://github.com/cloudposse-github-actions/pr-info/releases/latest"
image: "https://img.shields.io/github/release/cloudposse-github-actions/get-pr.svg"
url: "https://github.com/cloudposse-github-actions/get-pr/releases/latest"
- name: "Slack Community"
image: "https://slack.cloudposse.com/badge.svg"
url: "https://slack.cloudposse.com"
Expand Down Expand Up @@ -46,7 +46,7 @@ usage: |-
name: PR Info
runs-on: ubuntu-latest
steps:
- uses: cloudposse-github-actions/pr-info@v0
- uses: cloudposse-github-actions/get-pr@v0
id: pr
outputs:
base: ${{ fromJSON(steps.pr.outputs.pr).base.sha }}
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "pr-info",
"name": "get-pr",
"version": "0.1.0",
"description": "Github Action for getting the current PR if the commit belongs to one",
"main": "lib/main.js",
Expand All @@ -14,7 +14,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/cloudposse-github-actions/pr-info.git"
"url": "git+https://github.com/cloudposse-github-actions/get-pr.git"
},
"keywords": [
"Github",
Expand All @@ -24,9 +24,9 @@
"author": "8BitJonny",
"license": "GPL-3.0",
"bugs": {
"url": "https://github.com/cloudposse-github-actions/pr-info/issues"
"url": "https://github.com/cloudposse-github-actions/get-pr/issues"
},
"homepage": "https://github.com/cloudposse-github-actions/pr-info/issues#readme",
"homepage": "https://github.com/cloudposse-github-actions/get-pr/issues#readme",
"dependencies": {
"@actions/core": "^1.10.0",
"@actions/github": "^5.1.1"
Expand Down

0 comments on commit bd1fac4

Please sign in to comment.