mirror of
https://github.com/mandiant/capa.git
synced 2025-12-24 20:10:07 -08:00
Merge pull request #517 from Ana06/better-tag
ci: add capa release link to capa-rules tag
This commit is contained in:
7
.github/workflows/tag.yml
vendored
7
.github/workflows/tag.yml
vendored
@@ -15,7 +15,12 @@ jobs:
|
||||
repository: fireeye/capa-rules
|
||||
token: ${{ secrets.CAPA_TOKEN }}
|
||||
- name: Tag capa-rules
|
||||
run: git tag ${{ github.event.release.tag_name }}
|
||||
run: |
|
||||
# user information is needed to create annotated tags (with a message)
|
||||
git config user.email 'capa-dev@fireeye.com'
|
||||
git config user.name 'Capa Bot'
|
||||
name=${{ github.event.release.tag_name }}
|
||||
git tag $name -m "https://github.com/fireeye/capa/releases/$name"
|
||||
- name: Push tag to capa-rules
|
||||
uses: ad-m/github-push-action@master
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user