Add specific permissions to workflows under .github/workflows (#704)
* Restrict permissions for the GITHUB_TOKEN in .github/workflows/release.yml
* Restrict permissions for the GITHUB_TOKEN in .github/workflows/test.yml
Co-authored-by: Step Security <[email protected]>