freelo-action/.github/workflows/run.yml
Matyáš Caras 5001cf119c
ci: add vars
also add support for act
2024-07-30 16:01:19 +02:00

22 lines
No EOL
576 B
YAML

name: Sync issues to Freelo
on:
workflow_dispatch:
issues:
types: [opened, edited, closed, reopened, assigned, unassigned]
issue_comment:
types: [created, edited, deleted]
jobs:
run-my-action:
name: Run sync
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./
with:
email: ${{ secrets.FREELO_EMAIL }}
api-key: ${{ secrets.FREELO_TOKEN }}
project-id: ${{ vars.FREELO_PROJECT }}
tasklist-id: ${{ vars.FREELO_TASKLIST }}
github-token: ${{ secrets.GITHUB_TOKEN }}