github-advanced-security[bot] commented on code in PR #3450: URL: https://github.com/apache/thrift/pull/3450#discussion_r3210645523
########## .github/workflows/publish.yml: ########## @@ -0,0 +1,52 @@ +# +# Apache Thrift release publishing workflow +# +# When a release is created in GitHub, it should be created in pre-release +# mode first. This will trigger a "prereleased" event which will cause this +# workflow to run and publish packages to various package managers. You +# must check the Actions tab in GitHub to see the result of the workflow. +# +# github.event.action is either "prereleased" or "released" and corresponds +# with a named environment in CloudTruth +# +# | Destinations +# Language | Prereleased | Released +# ----------+---------------+--------------- +# py | test.pypi.org | pypi.org +# +--- +name: Publish + +on: + release: + types: + - prereleased + - released + +permissions: + contents: read + +jobs: + pypi: + runs-on: ubuntu-latest + timeout-minutes: 5 + steps: + - uses: actions/checkout@v6 + with: + persist-credentials: false + submodules: recursive + - uses: actions/setup-python@v6 Review Comment: ## zizmor / unpinned action reference [Show more details](https://github.com/apache/thrift/security/code-scanning/7) ########## .github/workflows/publish.yml: ########## @@ -0,0 +1,52 @@ +# +# Apache Thrift release publishing workflow +# +# When a release is created in GitHub, it should be created in pre-release +# mode first. This will trigger a "prereleased" event which will cause this +# workflow to run and publish packages to various package managers. You +# must check the Actions tab in GitHub to see the result of the workflow. +# +# github.event.action is either "prereleased" or "released" and corresponds +# with a named environment in CloudTruth +# +# | Destinations +# Language | Prereleased | Released +# ----------+---------------+--------------- +# py | test.pypi.org | pypi.org +# +--- +name: Publish + +on: + release: + types: + - prereleased + - released + +permissions: + contents: read + +jobs: + pypi: + runs-on: ubuntu-latest + timeout-minutes: 5 + steps: + - uses: actions/checkout@v6 Review Comment: ## zizmor / unpinned action reference [Show more details](https://github.com/apache/thrift/security/code-scanning/6) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
