Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include the GITHUB_TOKEN/GITEA_TOKEN secret for fork pull requests (#26759) #26806

Merged
merged 1 commit into from
Aug 30, 2023

Commits on Aug 29, 2023

  1. Include the GITHUB_TOKEN/GITEA_TOKEN secret for fork pull requests (g…

    …o-gitea#26759)
    
    Backport go-gitea#26759
    
    Include `GITHUB_TOKEN`/`GITEA_TOKEN` secrets for actions triggered by
    pull requests
    
    This makes it consistent with the environment variables which you can
    already access
    
    ```shell
    echo env: $GITHUB_TOKEN
    echo expression: ${{ secrets.GITHUB_TOKEN }}
    ```
    before
    
    ![image](https://github.com/go-gitea/gitea/assets/35262707/b6f750f6-3995-40f0-b8aa-df01e7997c37)
    after
    
    ![image](https://github.com/go-gitea/gitea/assets/35262707/ab74464b-7638-458a-afd5-f39e6101d2cf)
    
    ---------
    
    Co-authored-by: Jason Song <[email protected]>
    Co-authored-by: Giteabot <[email protected]>
    3 people committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    8d93e80 View commit details
    Browse the repository at this point in the history