Update Github actions to their latest versions to fix the following warnings on runs: ``` Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/. ``` `actions/checkout` and `actions/cache` are straight Node version upgrades, `actions/upload-artifact` and `actions/download-artifact` have breaking changes, but don't appear to affect our usage. https://github.com/actions/upload-artifact Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
32 lines
847 B
YAML
32 lines
847 B
YAML
name: Backport Issue Check
|
|
|
|
on:
|
|
pull_request_target:
|
|
branches:
|
|
- v*-branch
|
|
|
|
jobs:
|
|
backport:
|
|
name: Backport Issue Check
|
|
runs-on: ubuntu-22.04
|
|
if: github.repository == 'zephyrproject-rtos/zephyr'
|
|
|
|
steps:
|
|
- name: Check out source code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install Python dependencies
|
|
run: |
|
|
sudo pip3 install -U setuptools wheel pip
|
|
pip3 install -U pygithub
|
|
|
|
- name: Run backport issue checker
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.ZB_GITHUB_TOKEN }}
|
|
run: |
|
|
./scripts/release/list_backports.py \
|
|
-o ${{ github.event.repository.owner.login }} \
|
|
-r ${{ github.event.repository.name }} \
|
|
-b ${{ github.event.pull_request.base.ref }} \
|
|
-p ${{ github.event.pull_request.number }}
|