Commit graph

49 commits

Author SHA1 Message Date
Ben Knutson
e91dc056cb Refactor Github Action per b/485167538 2026-02-18 16:48:44 +00:00
Ana María Martínez Gómez
1aab323239
Add CONTRIBUTING file & update ISSUE TEMPLATES (#980)
* [ISSUE_TEMPLATE] Update Code of Conduct

Change Code of Conduct by Google's default Code of Conduct, as the used
linked has been removed from capa for consistency with other Google
projects.

* [CONTRIBUTING] Add CONTRIBUTING file

Add CONTRIBUTING file with information about CLA and Google's code of
conduct to follow Google conventions/policies. Include also other
details to make contributing easier.
2025-01-15 22:25:29 +01:00
mr-tz
9133ab1b9e update analogous to capa repo, removing Python 3.8 2024-10-22 09:06:09 +00:00
Moritz
2356f1c562
Update pull_request_template.md 2024-09-26 22:15:33 +02: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
a13aaa1628
[CI] Update ncipollo/release-action
The old version was using a deprecated version of Node.# Please enter the commit message for your changes. Lines starting
2024-02-23 15:14:41 +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
Willi Ballenthin
1da385ca2d
ci: use latest python for best performance 2023-07-13 10:29:53 +02:00
mr-tz
e4fe93a8b6 run script to detect feature overlaps between rules
add tmp test rule

fix script

tmp
2023-06-07 10:58:38 +02:00
Moritz
f0e0befa15
add weekly scheduled run of lint --thorough (#660) 2023-01-19 11:57:51 +01:00
Moritz
c772ba6ba8
Ci/add manual workflow (#651)
* add manual workflow
2023-01-05 10:58:38 +01:00
Willi Ballenthin
5ea634af7f
tests: better detect rule name
from https://github.com/mandiant/capa-rules/pull/647
2023-01-03 11:41:04 +01:00
mr-tz
fe4930fe0e update Actions 2023-01-02 19:13:18 +01:00
Moritz
90aaf6d49a
add release workflow (#643)
* add release workflow

* create detailed release text
2023-01-02 18:34:39 +01:00
Moritz
5611296a1f
ci: only check latest release compat with vX branch (#621) 2022-10-03 09:16:23 -06:00
Moritz
489068bb96
ci: lint thorough on PR text (#581)
* ci: lint thorough on PR text

* ci: document thorough lint option
2022-07-05 09:09:05 +02:00
Moritz
7c46a34d65
Update changelog_author.py 2022-05-31 23:05:54 +02:00
Moritz Raabe
16b55fdfa7 add PR template 2021-09-30 15:48:42 +02: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
William Ballenthin
35bc03dd10 pep8 2021-08-24 12:40:42 -06:00
Moritz Raabe
441550d4fd use top-level env element 2021-06-29 21:17:56 +02:00
Moritz Raabe
5dde3c1037 set save workspace env var to speed up testing 2021-06-29 13:27:44 +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
Ana Maria Martinez Gomez
f81a35263f
github: Add tag to rule idea issue template
Add automatically the tag as we do in the other issues templates.
2021-04-16 16:18:11 +02:00
Ana Maria Martinez Gomez
6b21508760
ci: run tests with Python3
Capa master doesn't support Python 2 anymore. Update the test.yml
workflow to use Python 3 to run the rule linter.
2021-04-09 10:53:17 +02:00
Willi Ballenthin
9d7d0ce70a
ci: pin OS version 2021-03-22 13:38:10 -06:00
Willi Ballenthin
f0ef38d0b4
ci: pin OS versions
closes #303
2021-03-22 13:37:20 -06:00
Moritz
6967260d4d Update tests.yml 2021-02-23 16:43:55 +01:00
Moritz Raabe
45d9f436ec continue on Action error
closes #260
2021-02-17 17:57:25 +01:00
Moritz Raabe
79757bbcd5 thoroughly lint renamed files also 2021-02-08 10:42:59 +01:00
Moritz Raabe
e21943473b lint modified rules thoroughly 2021-01-05 18:28:54 +01:00
Moritz Raabe
afbbf9bdec test latest release 2020-11-03 15:20:50 +01:00
Willi Ballenthin
576d0aa04d
false negative: update wording 2020-08-27 14:39:32 -06:00
Willi Ballenthin
a65c80432f
github: add false-negative issue template 2020-08-27 14:38:45 -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
Moritz
0c84eba9b4
Merge pull request #40 from Ana06/improve-sync-workflow
Improve capa checkout in sync workflow
2020-07-17 17:42:09 +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
56d13c9549
ci: Run rules linter in master and PRs
Create a CI GitHub action with a `rule_linter` job similar to the one in
capa.
2020-07-17 15:37:22 +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
Moritz Raabe
302c0da8de doc: add issue templates 2020-07-13 11:54:31 +02:00