Skip to content

Merge pull request #227 from Aayush-Goel-04/Aayush-Goel-04/Issue#1680 #225

Merge pull request #227 from Aayush-Goel-04/Aayush-Goel-04/Issue#1680

Merge pull request #227 from Aayush-Goel-04/Aayush-Goel-04/Issue#1680 #225

Workflow file for this run

name: Sync tests/data submodule in capa
on:
push:
branches: [ master ]
jobs:
sync_submodule_capa:
runs-on: ubuntu-20.04
steps:
# Do not checkout submodules as we don't need capa-rules and we need to
# update the tests/data submodule reference
- name: Checkout capa
uses: actions/checkout@v3
with:
repository: mandiant/capa
token: ${{ secrets.CAPA_TOKEN }}
- name: Checkout capa-testfiles
uses: actions/checkout@v3
with:
path: tests/data
- name: Commit changes
run: |
git config user.email 'capa-dev@mandiant.com'
git config user.name 'Capa Bot'
git commit -am 'Sync capa-testfiles submodule'
- name: Push changes to capa
uses: ad-m/github-push-action@master
with:
repository: mandiant/capa
github_token: ${{ secrets.CAPA_TOKEN }}