mirror of
https://github.com/funkypenguin/geek-cookbook/
synced 2025-12-15 02:36:38 +00:00
26
.github/workflows/check_pr_tasks_completed.yml
vendored
Normal file
26
.github/workflows/check_pr_tasks_completed.yml
vendored
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
name: 'Confirm tasks are completed'
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types: [opened, edited, synchronize, reopened]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
task-check:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
pull-requests: write
|
||||||
|
checks: write
|
||||||
|
steps:
|
||||||
|
- name: Get GitHub API token
|
||||||
|
id: get-app-token
|
||||||
|
uses: getsentry/action-github-app-token@v1
|
||||||
|
with:
|
||||||
|
app_id: ${{ secrets.PR_TASK_COMPLETED_CHECKER_APP_ID }}
|
||||||
|
private_key: ${{ secrets.PR_TASK_COMPLETED_CHECKER_APP_PRIVATE_KEY }}
|
||||||
|
|
||||||
|
- uses: Shopify/task-list-checker@main
|
||||||
|
with:
|
||||||
|
github-token: ${{ steps.get-app-token.outputs.token }}
|
||||||
|
readme-url: https://geek-cookbook.funkypenguin.co.nz/community/contribute/#contributing-recipes
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user