Skip to content

Commit

Permalink
Add workflow to check pull requests in JDT UI that break JDT-LS.
Browse files Browse the repository at this point in the history
Signed-off-by: Roland Grunberg <[email protected]>
  • Loading branch information
rgrunber committed Jan 30, 2024
1 parent 0b409f5 commit 16f3b19
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/check-breaking-prs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: check-breaking-prs

on:
schedule:
- cron: '0 8 * * *'
workflow_dispatch:

jobs:
pr-verify-job:
runs-on: ubuntu-latest
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name:
run: |
PRS=`gh --repo=eclipse-jdt/eclipse.jdt.ui pr list --json number | jq .[].number`
for number in `echo ${PRS}`; do
ret=`gh --repo=eclipse-jdt/eclipse.jdt.ui pr view ${number} --json files | jq .files[].path | grep 'org.eclipse.jdt.core.manipulation'`
if [ ${ret} -ne 0 ];
echo ${number} touches jdt.core.manipulation
fi
done

0 comments on commit 16f3b19

Please sign in to comment.