Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/actions/create-github-app-token/releases)
- [Changelog](https://github.com/actions/create-github-app-token/blob/main/CHANGELOG.md)
- [Commits](bcd2ba4921...64ab729a62)
---
updated-dependencies:
- dependency-name: actions/create-github-app-token
dependency-version: 3.3.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
41 lines
1.3 KiB
YAML
41 lines
1.3 KiB
YAML
name: Release Please
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
workflow_dispatch:
|
|
|
|
permissions: {}
|
|
|
|
concurrency:
|
|
group: release-please-main
|
|
cancel-in-progress: false
|
|
|
|
jobs:
|
|
release-pr:
|
|
if: github.repository == 'openai/openai-agents-python' && github.ref == 'refs/heads/main'
|
|
runs-on: ubuntu-latest
|
|
environment: release
|
|
permissions: {}
|
|
steps:
|
|
- name: Create repository-scoped release token
|
|
id: app
|
|
uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510
|
|
with:
|
|
app-id: ${{ vars.OPENAI_SDKS_APP_CLIENT_ID }}
|
|
private-key: ${{ secrets.OPENAI_SDKS_APP_PRIVATE_KEY }}
|
|
owner: openai
|
|
repositories: openai-agents-python
|
|
permission-contents: write
|
|
permission-pull-requests: write
|
|
permission-issues: write
|
|
- name: Update the release pull request
|
|
uses: googleapis/release-please-action@45996ed1f6d02564a971a2fa1b5860e934307cf7 # v5.0.0
|
|
with:
|
|
token: ${{ steps.app.outputs.token }}
|
|
target-branch: main
|
|
config-file: release-please-config.json
|
|
manifest-file: .release-please-manifest.json
|
|
# Enable only after credentials, tag creation rules, and required readiness check are configured.
|
|
skip-github-release: ${{ vars.RELEASE_AUTOMATION_ENABLED != 'true' }}
|