Skip to content

Commit

Permalink
Install yara in third-party rule update Workflow
Browse files Browse the repository at this point in the history
Signed-off-by: egibs <[email protected]>
  • Loading branch information
egibs committed Nov 1, 2024
1 parent d90a5a9 commit a6bac16
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/third-party.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@ on:
workflow_dispatch:
schedule:
- cron: "0 */12 * * *"
push:
branches:
- third-party-workflow-updates

permissions:
contents: read

jobs:
version:
update:
if: ${{ github.repository }} == 'chainguard-dev/malcontent'
runs-on: ubuntu-latest
permissions:
Expand All @@ -28,6 +31,14 @@ jobs:
with:
scope: chainguard-dev/malcontent
identity: third-party
- name: install libyara-dev
run: |
sudo add-apt-repository -n -y "deb http://archive.ubuntu.com/ubuntu/ mantic main restricted universe multiverse"
sudo add-apt-repository -n -y "deb http://archive.ubuntu.com/ubuntu/ mantic-updates main restricted universe multiverse"
sudo add-apt-repository -n -y "deb http://archive.ubuntu.com/ubuntu/ mantic-backports main restricted universe multiverse"
sudo add-apt-repository -n -y "deb http://security.ubuntu.com/ubuntu mantic-security main restricted universe multiverse"
sudo apt update && sudo apt install yara libyara-dev -y
- name: Run make update-third-party
run: |
make update-third-party
Expand Down

0 comments on commit a6bac16

Please sign in to comment.