10 types: [opened, reopened, synchronize]
15 runs-on: ubuntu-latest
19 uses: actions/checkout@v4
22 repository: ${{ github.event.pull_request.head.repo.full_name }}
23 ref: ${{ github.event.pull_request.head.sha }}
28 packages=$( git diff --diff-filter="ACMR" --name-only ${{ github.event.pull_request.base.sha }} \
29 | grep -E '.*\/.*\/.*\.ebuild$' \
30 | xargs -I{} dirname {} | sort | uniq | tr '\n' ' ' )
31 echo "::set-output name=packages::$packages"
32 echo "emerge $packages"
35 uses: liangyongxiang/emerge-action@v0.1
37 packages: "${{ steps.packages.outputs.packages }}"