Commit graph

20 commits

Author SHA1 Message Date
Ben Knutson
e91dc056cb Refactor Github Action per b/485167538 2026-02-18 16:48:44 +00:00
mr-tz
9133ab1b9e update analogous to capa repo, removing Python 3.8 2024-10-22 09:06:09 +00:00
Ana Maria Martinez Gomez
3ab0b8fdc1
[CI] Correct token used to update badge 2024-02-27 12:41:29 +01:00
Ana Maria Martinez Gomez
9888713807
[CI] Update Ana06/get-changed-files
Update Ana06/get-changed-files to the latest version that I released
yesterday using Node 20. The old version was using a deprecated version
of Node.
2024-02-23 15:14:40 +01:00
Ana Maria Martinez Gomez
d5a979a11c
[CI] Update actions/setup-python to latest version
The old version was using a deprecated version of Node.
2024-02-23 15:14:37 +01:00
Ana Maria Martinez Gomez
36b8681271
[CI] Update actions/checkout to latest version
The old version was using a deprecated version of Node.
2024-02-23 14:59:05 +01:00
Ana Maria Martinez Gomez
4c03f00b4b
[CI] Use badge in gist for rules number in README
This simplifies the workflow code and remove the need for the noisy
commits in capa-rules. We still need the commits in capa to sync the
submodule.
2024-02-23 14:50:28 +01:00
mr-tz
fe4930fe0e update Actions 2023-01-02 19:13:18 +01:00
Moritz Raabe
b134c4eee5 update capa-bot email 2021-09-29 11:56:07 +02:00
Moritz Raabe
1307be35d5 s/fireeye/mandiant 2021-09-27 21:47:49 +02:00
Ana Maria Martinez Gomez
923db86fbb
ci: fix rule counting in CHANGELOG
The GH action which updates the number of rules in the CHANGELOG counted
files that are not `.yml`.
2021-06-04 19:35:34 +02:00
Ana Maria Martinez Gomez
e1643ccebe
ci: support multiple author in sync GH
The sync GH action only works for a single author, producing unexpected
results when using list of authors.

This change also prevent problems with new files that are not rules
(`.yml`). (such as `.github/scripts/changelog_author.py`)

Closes https://github.com/fireeye/capa/issues/555
2021-05-11 12:43:54 +02:00
Ana Maria Martinez Gomez
af036f060c
ci: Update CHANGELOG automatically
Update new rules in capa repository's CHANGELOG with a GitHub Action
automatically with every push (for example merge of PR).
2021-05-07 16:37:51 +02:00
Willi Ballenthin
f0ef38d0b4
ci: pin OS versions
closes #303
2021-03-22 13:37:20 -06:00
Ana María Martínez Gómez
341a2fca5c
Modify sync action to include all commits
The default `ref` is the one which triggers the action. Consequently the
` Update rules number badge` commit from the `update_num_rules` job is
not synchronized.
2020-07-28 14:03:39 +02:00
Ana María Martínez Gómez
6fa768bbef
Improve capa checkout in sync workflow
Do not checkout `tests/data` submodule. Instead checkout only
`capa-rules`. This also automatically checkouts the correct version
without needing to update the submodule after the checkout (as it uses
`$GITHUB_SHA`).
2020-07-17 18:42:10 +02:00
Moritz
7392cae22d
Revert "Improve capa checkout in sync workflow" 2020-07-17 17:49:31 +02:00
Ana María Martínez Gómez
8d09c86980
Improve capa checkout in sync workflow
- Do not include `CAPA_TOKEN` token as capa is a public repo and token
is not needed for checkout.
- Do not checkout `tests/data` submodule. Instead checkout only
`capa-rules`. This also automatically checkouts the correct version
without needing to update the submodule after the checkout (as it uses
`$GITHUB_SHA`).
2020-07-17 16:03:13 +02:00
Ana María Martínez Gómez
29feee7e83
Update capa rules submodule
Add a GitHub action that for every new commit updates the rules
submodule reference in the capa repository and the number of rules in
the capa README.
2020-07-14 19:27:48 +02:00
Ana María Martínez Gómez
b9d9a42844
Add rules number badge to README
Includes a GitHub actions which updates the number every time new rules
are pushed to master.
2020-07-14 19:27:22 +02:00