From cd97cffa79199132be7c7233a0ccd87c8f99e437 Mon Sep 17 00:00:00 2001 From: Carles Cufi Date: Fri, 27 Nov 2020 18:16:36 +0100 Subject: [PATCH] actions: manifest: Update to latest action revision The manifest GitHub action now optionally takes a checked out tree in order to find the merge base of the pull request branch. Provide this to avoid artifacts in edge cases. Signed-off-by: Carles Cufi --- .github/workflows/manifest.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/manifest.yml b/.github/workflows/manifest.yml index 83547721af3..fc2f9fa7531 100644 --- a/.github/workflows/manifest.yml +++ b/.github/workflows/manifest.yml @@ -7,11 +7,19 @@ jobs: runs-on: ubuntu-latest name: Manifest steps: + - name: Checkout the code + uses: actions/checkout@v2 + with: + path: zephyrproject/zephyr + ref: ${{ github.event.pull_request.head.sha }} + fetch-depth: 0 + - name: Manifest uses: zephyrproject-rtos/action-manifest@main with: github-token: ${{ secrets.GITHUB_TOKEN }} manifest-path: 'west.yml' + checkout-path: 'zephyrproject/zephyr' label-prefix: 'manifest-' verbosity-level: '1' labels: 'manifest, west'