Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/firelemons/on-deploy


https://github.com/firelemons/on-deploy

Last synced: 22 days ago
JSON representation

Awesome Lists containing this project

README

        

# on-deploy
If a deploy has been done witin the day,
- All cards from the QA column are moved to the Done column

## Params
### done_column_card_limit:
The maximum number of cards allowed in the done column before archiving them

### done_column_name:
The name of the column representing issues pushed to prod

### QA_column_name:
The name of the column representing issues merged to QA

### project_name:
The name of the project to manage

## Example Usage
```
on:
schedule:
- cron: '0 1 * * *' # Run every day
workflow_dispatch: # Enable Manual Runs

jobs:
on_deploy:
runs-on: ubuntu-latest
name: On Deploy
steps:
- name: After Deploy
uses: Firelemons/[email protected]
with:
project_name: "CASA Volunteer Portal"
done_column_card_limit: "16"
done_column_name: "Done (in prod!)"
QA_column_name: "Merged to QA"open
token: ${{secrets.GITHUB_TOKEN}}
```

## Developing
### Setup
`git clone [email protected]:FireLemons/on-deploy.git` Clone the repo
`cd on-deploy`
`npm i` Install node dependencies
Open and edit `index.ts`(a typescript file)
Open a new terminal and run `npm run autocompile`. This will automatically compile `index.ts` into `index.js` every time `index.ts` is saved. Watch the window for typescript errors.