forked from mandiant/capa
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add capa release link to capa-rules tag
GitHub displays the commit's message of the tag if no description is given, which is ugly. Use annotated tags which include a message. Use the release link as message, as this is useful information.
- Loading branch information
Showing
2 changed files
with
8 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 '[email protected]' | ||
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: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters