This action intention is to create one trello card for each new commit on a given upstream, with the goal of having a better roadmap to have your fork in sync!
Necessary to use Trello's API. Go to this site to obtain yours and set it up as a secret in order to use: ${{ secrets.TRELLO_API_KEY }}
.
Necessary to use Trello's API. Go to this site to obtain yours and set it up as a secret in order to use: ${{ secrets.TRELLO_OAUTH_TOKEN }}
.
Id of the trello list where the cards will be created. Go to your trello board and add .json
at the end and search for the id of the desired list and set it up as a secret in order to use: ${{ secrets.TRELLO_LIST_ID }}
.
Url of the upstream repository.
name: Create trello card for new upstream commits
on:
schedule:
- cron: '0 5 * * *' # at 5am every day
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
repository: maurocen/mira-de-quien-te-burlaste-barney
token: ${{ secrets.GH_TOKEN }}
path: 'upstream' # NOTE: do not change this line
- uses: tintef/[email protected]
with:
TRELLO_API_KEY: ${{ secrets.TRELLO_API_KEY }}
TRELLO_OAUTH_TOKEN: ${{ secrets.TRELLO_OAUTH_TOKEN }}
TRELLO_LIST_ID: ${{ secrets.TRELLO_LIST_ID }}
UPSTREAM: https://github.com/Tintef/upstream-trello-card-creator