Skip to content

Commit

Permalink
chore(ci): use syscalls-bumper composite action.
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Di Pierro <[email protected]>
  • Loading branch information
FedeDP authored and poiana committed Nov 18, 2023
1 parent 9866af1 commit 364422d
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/update-syscalls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 364422d

Please sign in to comment.