https://github.com/tgstation/round_linker
Round ID Linker
https://github.com/tgstation/round_linker
Last synced: 6 months ago
JSON representation
Round ID Linker
- Host: GitHub
- URL: https://github.com/tgstation/round_linker
- Owner: tgstation
- Created: 2020-02-20T11:12:28.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-07-12T04:27:49.000Z (over 2 years ago)
- Last Synced: 2024-04-27T05:40:57.476Z (over 1 year ago)
- Language: JavaScript
- Size: 147 KB
- Stars: 0
- Watchers: 3
- Forks: 7
- Open Issues: 3
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# Round ID Linker
Replaces round id's in issue body with links to scrubby.
Accepted round id format :
```
[Round ID]: 1245
```
## Usage
Create a workflow (eg: `.github/workflows/round_linker.yml` see [Creating a Workflow file](https://help.github.com/en/articles/configuring-a-workflow#creating-a-workflow-file))
### Example workflow
```
name: "Round ID Linker"
on:
issues:
types: [opened]
jobs:
link_rounds:
runs-on: ubuntu-latest
steps:
- uses: tgstation/round_linker@master
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
```
_Note: This grants access to the `GITHUB_TOKEN` so the action can make calls to GitHub's rest API_