Skip to content

Update to Rwanda REMA data source #232

Update to Rwanda REMA data source

Update to Rwanda REMA data source #232

Workflow file for this run

name: ci
on:
pull_request:
branches:
- main
jobs:
depcheck:
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v3
- name: install depcheck
run: npm install depcheck --legacy-peer-deps
- name: run depcheck
id: rundepcheck
run: |
DEPCHECK=$(npx depcheck --ignores=depcheck --json) || true
echo "DEPCHECK_RESULT=$DEPCHECK" >> $GITHUB_ENV
- name: Generate PR comment
id: generate_pr_comment
run: |
COMMENT=$(bash ./scripts/process_depcheck_output.sh "$DEPCHECK_RESULT")
echo "PR_COMMENT=$COMMENT" >> $GITHUB_ENV
- name: Comment PR
if: env.PR_COMMENT != ''
uses: thollander/actions-comment-pull-request@v2
with:
message: |
results:
${{ env.PR_COMMENT }}