[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/uda/python-gitlab/main/.github/workflows/release.yml [Back]  [Original]

name: Release

on:
  schedule:
    - cron: '0 0 28 * *'  # Monthly auto-release
  workflow_dispatch:      # Manual trigger for quick fixes

jobs:
  release:
    if: github.repository == 'python-gitlab/python-gitlab'
    runs-on: ubuntu-latest
    permissions:
      id-token: write
    environment: pypi.org
    steps:
    - uses: actions/checkout@v3.5.3
      with:
        fetch-depth: 0
        token: ${{ secrets.RELEASE_GITHUB_TOKEN }}
    - name: mint API token
      id: mint-token
      run: |
        resp=$(curl -H "Authorization: bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" "$ACTIONS_ID_TOKEN_REQUEST_URL&audience=pypi")
        oidc_token=$(jq '.value' 

Web Proxy Viewer  |  New URL  |  Original Page