freelo-action/.github/workflows/run.yml
Matyáš Caras 35bf0c3452
ci: fix permissions
also updated example in readme
2024-07-30 17:32:24 +02:00

23 lines
No EOL
604 B
YAML

name: Sync issues to Freelo
on:
workflow_dispatch:
issues:
types: [opened, edited, closed, reopened, assigned, unassigned]
issue_comment:
types: [created, edited, deleted]
permissions:
issues: write
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 }}