1name: Backport Issue Check 2 3on: 4 pull_request_target: 5 branches: 6 - v*-branch 7 8jobs: 9 backport: 10 name: Backport Issue Check 11 runs-on: ubuntu-22.04 12 if: github.repository == 'zephyrproject-rtos/zephyr' 13 14 steps: 15 - name: Check out source code 16 uses: actions/checkout@v3 17 18 - name: Install Python dependencies 19 run: | 20 sudo pip3 install -U setuptools wheel pip 21 pip3 install -U pygithub 22 23 - name: Run backport issue checker 24 env: 25 GITHUB_TOKEN: ${{ secrets.ZB_GITHUB_TOKEN }} 26 run: | 27 ./scripts/release/list_backports.py \ 28 -o ${{ github.event.repository.owner.login }} \ 29 -r ${{ github.event.repository.name }} \ 30 -b ${{ github.event.pull_request.base.ref }} \ 31 -p ${{ github.event.pull_request.number }} 32