Closed naveensrinivasan closed 2 years ago
@naveensrinivasan Thank you for adding this.
Would you be able to add a small entry to CHANGES.rst
? I tried to updated the PR but was unable to.
I had something like this
diff --git a/CHANGES.rst b/CHANGES.rst
index b3c07280..86bc7a4a 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -31,6 +31,7 @@ fixes:
- chore: bump actions/setup-python from 2 to 3.1.0 (#1563)
- fix: removed deprecated argument reconnection_interval for irc v20.0 (#1568)
- docs: Add Gentoo packages (#1567)
+- chore: Set permissions for GitHub actions (#1565)
v6.1.8 (2021-06-21)
-------------------
chore: Set permissions for GitHub actions (#1565)
I took care of that. Thanks
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests
Signed-off-by: naveensrinivasan 172697+naveensrinivasan@users.noreply.github.com