Using GitHub Secrets in Azure Pipelines

Hi
Using Azure Pipelines for GitHub repositories. We used GitHub Actions and enabled some secrets" in there.
Is there a way, we can use the Secrets in Azure Pipelines? Just making sure, my code and secrets are at same place. Please suggest. Thanks