diff --git a/.github/workflows/sync-prs-to-linear.yml b/.github/workflows/sync-prs-to-linear.yml new file mode 100644 index 0000000..7611962 --- /dev/null +++ b/.github/workflows/sync-prs-to-linear.yml @@ -0,0 +1,24 @@ +name: Sync Open PRs to Linear + +on: + schedule: + - cron: '0 10 * * *' + workflow_dispatch: + +permissions: + contents: none + +jobs: + sync: + runs-on: ubuntu-latest + timeout-minutes: 15 + permissions: + pull-requests: write + issues: write + + steps: + - uses: resend/public-shared-workflows/.github/actions/sync_prs_to_linear@6adbbae7541681ead204faab5d4e5ea9bebca4da + with: + linear-api-key: ${{ secrets.LINEAR_API_KEY }} + linear-team-id: ${{ secrets.LINEAR_TEAM_ID }} + github-token: ${{ github.token }}