Skip to content

Commit fa2850f

Browse files
committed
chore: add note about github token and the permissions key
1 parent 729337f commit fa2850f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,9 @@ repository or on a pull request.
3333
Continuous Deployment (CD): is the practice of automating the deployment of code changes to a production environment.
3434
This means that you can set up github actions to deploy your code to a server, a cloud provider, etc. once you are
3535
ready to release a new version of your software.
36+
37+
By default, github actions have got the GITHUB_TOKEN secret, which is a token that allows the action to interact with the
38+
github API. This token is automatically created by github and is available to all actions. You can use this token to
39+
create issues, pull requests, etc. from your actions.
40+
If you want to push to the repository tho, you need to update the permissions of the token and you can do it right in
41+
the worflow file using the `permissions` key.

0 commit comments

Comments
 (0)