From 364422d622c5a729482a6c55639bf3775196e17f Mon Sep 17 00:00:00 2001 From: Federico Di Pierro Date: Fri, 17 Nov 2023 09:42:37 +0100 Subject: [PATCH] chore(ci): use syscalls-bumper composite action. Signed-off-by: Federico Di Pierro --- .github/workflows/update-syscalls.yml | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/.github/workflows/update-syscalls.yml b/.github/workflows/update-syscalls.yml index ecc0156cab..c11dda62fc 100644 --- a/.github/workflows/update-syscalls.yml +++ b/.github/workflows/update-syscalls.yml @@ -7,29 +7,26 @@ on: jobs: update-syscalls: - runs-on: ubuntu-latest - container: - image: falcosecurity/syscalls-bumper:latest permissions: contents: write pull-requests: write + runs-on: ubuntu-latest steps: - - name: Git set-up - run: | - apk update && apk add git - - name: Checkout uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 with: ref: master - + path: libs + - name: Bump syscalls - run: | - syscalls-bumper --repo-root $(pwd) --overwrite - + uses: falcosecurity/syscalls-bumper@latest + with: + repo-root: libs + - name: Create Pull Request uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 # v5.0.2 with: + path: libs signoff: true base: master branch: update/syscalls