Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
  • Loading branch information
pditommaso committed Jan 14, 2023
1 parent 176a889 commit a2d2cbf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/sharing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,11 @@ Create a ``github`` entry in the `SCM configuration file`_ specifying your user
GitHub requires the use of a personal access token (PAT) in place of a password when accessing APIs.
Learn more about PAT and how to create it at `this link <https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token>`_.

.. tip::
As of version 23.01.0-edge, Nextflow automatically uses the environment variable ``GITHUB_TOKEN`` to authenticate
the access to GitHub repository if no credentials are provided via the ``scm`` file. This is useful especially when
accessing pipeline code from a GitHub action. Read more about the token authentication in the
`GitHub documentation <https://docs.github.com/en/actions/security-guides/automatic-token-authentication>`_.

GitLab credentials
-------------------
Expand Down

0 comments on commit a2d2cbf

Please sign in to comment.